X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Finvoice_view.tpl;h=9faa3bb21fccf17a39ee8bbe2e92f9f90da699c9;hb=b4be5795ddbcef63b4b6fffb200c3dfc3ffcb530;hp=90c7ad7e09ef613a2c320ae9e9312ed3f97b7636;hpb=7ece3d4c1cf7c91fc469373a6b8a997fd4ea3398;p=timetracker.git
diff --git a/WEB-INF/templates/invoice_view.tpl b/WEB-INF/templates/invoice_view.tpl
index 90c7ad7e..9faa3bb2 100644
--- a/WEB-INF/templates/invoice_view.tpl
+++ b/WEB-INF/templates/invoice_view.tpl
@@ -7,16 +7,16 @@
{$i18n.title.invoice} {$invoice_name|escape} |
- {$i18n.label.date}: {$invoice_date} |
- {$i18n.label.client}: {$client_name|escape} |
- {$i18n.label.client_address}: {$client_address|escape} |
+ {$i18n.label.date}: {$invoice_date} |
+ {$i18n.label.client}: {$client_name|escape} |
+ {$i18n.label.client_address}: {$client_address|escape} |
|
{if $invoice_items}
-
+
@@ -29,20 +29,26 @@
+ {if $user->isPluginEnabled('ps')}
+
+ {/if}
{foreach $invoice_items as $invoice_item}
-
- {$invoice_item.date} |
- {$invoice_item.user_name|escape} |
+
+ {$invoice_item.date} |
+ {$invoice_item.user_name|escape} |
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
- {$invoice_item.project_name|escape} |
+ {$invoice_item.project_name|escape} |
{/if}
{if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
- {$invoice_item.task_name|escape} |
+ {$invoice_item.task_name|escape} |
+ {/if}
+ {$invoice_item.note|escape} |
+ {$invoice_item.duration} |
+ {$invoice_item.cost} |
+ {if $user->isPluginEnabled('ps')}
+ {if $invoice_item.paid}{$i18n.label.yes}{else}{$i18n.label.no}{/if} |
{/if}
- {$invoice_item.note|escape} |
- {$invoice_item.duration} |
- {$invoice_item.cost} |
{/foreach}
|
@@ -61,6 +67,20 @@
{$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}
|