X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Freports.tpl;h=58fe61dcdbd15f73212732ac368b6943e21f68ca;hb=4ebe6fd29283633e5ae7cdb399cc144c38af25fb;hp=9c8221ade6db9595146a6269de1ed3bc20679949;hpb=bcbff1b505f315c05b45e5a2eaa707ed574d1a9a;p=timetracker.git diff --git a/WEB-INF/templates/reports.tpl b/WEB-INF/templates/reports.tpl index 9c8221ad..58fe61dc 100644 --- a/WEB-INF/templates/reports.tpl +++ b/WEB-INF/templates/reports.tpl @@ -1,4 +1,28 @@ @@ -170,66 +253,67 @@ function handleCheckboxes() { -{if (($user->isPluginEnabled('cl') && !($user->isClient() && $user->client_id)) || ($custom_fields && $custom_fields->fields[0] && $custom_fields->fields[0]['type'] == CustomFields::TYPE_DROPDOWN))} - - {if $user->isPluginEnabled('cl') && !($user->isClient() && $user->client_id)}{else}{/if} - - {if ($custom_fields && $custom_fields->fields[0] && $custom_fields->fields[0]['type'] == CustomFields::TYPE_DROPDOWN)}{else}{/if} - - - - - + + + + +{if $show_active_users} - + - + {/if} -{if $user->can('view_reports') || $user->can('view_all_reports') || $user->isClient()} +{if $show_inactive_users} - + - + {/if} @@ -251,58 +335,73 @@ function handleCheckboxes() { - - - + + - +
{$i18n.label.client}  {$i18n.label.option} 
{$forms.reportForm.client.control} {$forms.reportForm.option.control}
+ +{if $show_client} + + {/if} -{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} - - - - {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} - - {/if} - +{if $show_project} + + {/if} -{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} - - - - {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} - - {/if} - +{if $show_billable} + + {/if} -{if $user->isPluginEnabled('iv')} - - - - {if $user->can('manage_invoices')} - - {/if} - - - - - {if $user->can('manage_invoices')} - - - {/if} +{if $show_paid_status} + + {/if} -{if ($user->can('manage_invoices') && $user->isPluginEnabled('ps'))} +
{$i18n.label.client}
{$forms.reportForm.client.control}
{$i18n.label.project} {$i18n.label.task}
{$i18n.label.project}
{$forms.reportForm.project.control}
{$forms.reportForm.project.control} {$forms.reportForm.task.control}
{$i18n.form.time.billable}
{$forms.reportForm.include_records.control}
{$i18n.form.time.billable} {$i18n.label.invoice}
{$forms.reportForm.include_records.control} {$forms.reportForm.invoice.control}
{$i18n.label.paid_status}
{$forms.reportForm.paid_status.control}
+
+ +{if $show_cf_1_dropdown} + + +{/if} +{if $show_task} + + +{/if} +{if $show_approved} + + +{/if} +{if $show_invoice_dropdown} + + +{/if} +{if $show_timesheet_dropdown} + + +{/if} +
{$i18n.label.option}
{$forms.reportForm.option.control}
{$i18n.label.task}
{$forms.reportForm.task.control}
{$i18n.label.approved}
{$forms.reportForm.approved.control}
{$i18n.label.invoice}
{$forms.reportForm.invoice.control}
{$i18n.label.timesheet}
{$forms.reportForm.timesheet.control}
+
{$i18n.label.paid_status}{$i18n.label.active_users}
{$forms.reportForm.paid_status.control}{$forms.reportForm.users_active.control}
{$i18n.label.users}{$i18n.label.inactive_users}
{$forms.reportForm.users.control}{$forms.reportForm.users_inactive.control}
-{if $user->can('view_reports') || $user->can('view_all_reports') || $user->isPluginEnabled('cl') || $user->isPluginEnabled('iv') || $user->isPluginEnabled('ps')} - {if $user->isPluginEnabled('cl')} - - {/if} - {if ($user->can('manage_invoices') || $user->isClient()) && $user->isPluginEnabled('iv')} - - {/if} - {if ($user->can('manage_invoices') && $user->isPluginEnabled('ps'))} - - {/if} - {if $user->can('view_reports') || $user->can('view_all_reports')} - - {/if} - + + + + +
+ +{if $show_client} + {/if} - - - - -{if ($user->can('manage_invoices') || $user->isClient()) || $user->isPluginEnabled('ex')} - -{else} - +{if $show_project} + {/if} - - - - - -{if ($custom_fields && $custom_fields->fields[0])} - -{else} - +{if $show_timesheet_checkbox} + {/if} - -{if $user->isPluginEnabled('wu')} - - - - - - +{if $show_cf_1_checkbox} + +{/if} +
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}{/if}{if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}{/if}
{if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}{/if}{if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}{/if}
+
+ +{if $show_start} + +{/if} +{if $show_task} + +{/if} +{if $show_ip} + {/if} +{if $show_work_units} + +{/if} +
+
+ +{if $show_finish} + +{/if} + +{if $show_approved} + +{/if} +{if $show_invoice_checkbox} + +{/if} +
+
+ + + +{if $show_paid_status} + +{/if} +{if $show_files} + +{/if} +
+
{$i18n.form.reports.group_by}
{$i18n.form.reports.group_by}
{$forms.reportForm.group_by.control}{$forms.reportForm.group_by1.control} {$forms.reportForm.group_by2.control} {$forms.reportForm.group_by3.control}