X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Finvoice_view.tpl;h=9faa3bb21fccf17a39ee8bbe2e92f9f90da699c9;hb=a106b7a2db73b3e1fdab428b218212f6f38d7623;hp=1ff5c834a272bdf1b9b09618623bb154c0ab5702;hpb=6856837ddde5cc90ac5dad2e5d67204036ec3158;p=timetracker.git diff --git a/WEB-INF/templates/invoice_view.tpl b/WEB-INF/templates/invoice_view.tpl index 1ff5c834..9faa3bb2 100644 --- a/WEB-INF/templates/invoice_view.tpl +++ b/WEB-INF/templates/invoice_view.tpl @@ -29,6 +29,9 @@ {$i18n.label.note} {$i18n.label.duration} {$i18n.label.cost} + {if $user->isPluginEnabled('ps')} + {$i18n.label.paid} + {/if} {foreach $invoice_items as $invoice_item} @@ -43,6 +46,9 @@ {$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} {/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}