<parameterscope="instance"datatype="number"min_n_values="1"max_n_values="1"name="TimesheetProjectNrMaxLength"default="12"description="Should we cut down the nr (short name) of a task or ticket in the timesheet entry page to a maximum size? Default is 12, 0 disables this feature."/>
<parameterscope="instance"datatype="string"min_n_values="1"max_n_values="1"name="CustomHoursActionHashFunction"default=""description="Hook/callback in intranet-timesheet2/new-2 function to perform on the 'action hash' of update/delete/create actions resulting from the entry of hours by the user. For example, cosine has a 'im_cust_cosine_veto_action_hash' custom function to veto entries if prices are not set correctly. "/>
<parameterdatatype="number"min_n_values="1"max_n_values="1"name="AbsenceAutogenerateTitleTemplate"default=""description="Should the system automatically generate the title of an absence? An non-empty string will be treated as a template, you can use the variables absence_id, absence_type, absence_owner, absence_start_date and absence_end_date at the moment, prefixed by a dollar so that it can be evaluated as a string using TCL 'eval'. Example (without single quotes): '$absence_type from $absence_start_date to $absence_end_date by $absence_owner'"/>
<parameterscope="instance"datatype="number"min_n_values="1"max_n_values="1"name="AbsenceSincePastDays"default="100"description="Should we allow users to create absences in the past? Default is 100 for 100 days. A value of 0 means that absences can only be requested for today and the future."/>
@@ -45,6 +45,7 @@ set date_time_format "YYYY MM DD"
set absence_type [lang::message::lookup "" intranet-timesheet2.Absence "Absence"]
set duration_default_uom [parameter::get_from_package_key -package_key "intranet-timesheet2" -parameter "AbsenceDefaultDurationUnit" -default "days"]
set absence_since_past_days [parameter::get_from_package_key -package_key "intranet-timesheet2" -parameter "AbsenceSincePastDays" -default 100]
# Autogenerate the absence title using a template?
# absence_id, absence_type, absence_user, absence_start_date and absence_end_date at the moment, prefixed by a dollar so that it can be evaluated as a string using TCL 'eval'."/>