X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Finvoice_view.tpl;h=6441b44dbf58e79847746095a5d70befb8a902c4;hb=2b39252b38f5bd1be462224fe781a40f5b0ddf95;hp=ceeeffc9bc5dd5c7673fcad9529194904ec780f8;hpb=9a23a8c0a51b7ec38a96f525484134f3cb85dc7e;p=timetracker.git diff --git a/WEB-INF/templates/invoice_view.tpl b/WEB-INF/templates/invoice_view.tpl index ceeeffc9..6441b44d 100644 --- a/WEB-INF/templates/invoice_view.tpl +++ b/WEB-INF/templates/invoice_view.tpl @@ -6,62 +6,81 @@ - - - - + + + +
{$i18n.title.invoice} {$invoice_name|escape:'html'}
{$i18n.label.date}: {$invoice_date}
{$i18n.label.client}: {$client_name|escape:'html'}
{$i18n.label.client_address}: {$client_address|escape:'html'}
{$i18n.title.invoice} {$invoice_name|escape}
{$i18n.label.date}: {$invoice_date}
{$i18n.label.client}: {$client_name|escape}
{$i18n.label.client_address}: {$client_address|escape}
{if $invoice_items} - +
- {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} + {if $show_project} {/if} - {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} + {if $show_task} {/if} + {if $user->isPluginEnabled('ps')} + + {/if} {foreach $invoice_items as $invoice_item} - - - - {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} - + + + + {if $show_project} + + {/if} + {if $show_task} + {/if} - {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} - + + + + {if $user->isPluginEnabled('ps')} + {/if} - - - {/foreach} {if $tax} - + - + {/if} - + - -
{$i18n.label.date} {$i18n.form.invoice.person}{$i18n.label.project}{$i18n.label.task}{$i18n.label.note} {$i18n.label.duration} {$i18n.label.cost}{$i18n.label.paid}
{$invoice_item.date}{$invoice_item.user_name|escape:'html'}{$invoice_item.project_name|escape:'html'}
{$invoice_item.date}{$invoice_item.user_name|escape}{$invoice_item.project_name|escape}{$invoice_item.task_name|escape}{$invoice_item.task_name|escape:'html'}{$invoice_item.note|escape}{$invoice_item.duration}{$invoice_item.cost}{if $invoice_item.paid}{$i18n.label.yes}{else}{$i18n.label.no}{/if}{$invoice_item.note|escape:'html'}{$invoice_item.duration}{$invoice_item.cost}
 
{$i18n.label.subtotal}:{$subtotal|escape:'html'}{$subtotal|escape}
{$i18n.label.tax}:{$tax|escape:'html'}{$tax|escape}
{$i18n.label.total}:{$total|escape:'html'}{$total|escape}
+ + + {$forms.invoiceForm.open} + {if $user->isPluginEnabled('ps')} + + + + +
+ + +
{$i18n.label.mark_paid}: {$forms.invoiceForm.mark_paid_action_options.control} {$forms.invoiceForm.btn_mark_paid.control}
+
+ {/if} + {$forms.invoiceForm.close} {/if} @@ -69,6 +88,3 @@ - - -