X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Finvoices.tpl;h=32d09544fb213a4b8c39ddc328d852fd89ba7170;hb=54c7f39c93815e99c45f3f974a4ec14673fee1b2;hp=56046f451cf8236f7ce5b8cbbc89eb14f1878d0f;hpb=a781da5661a1932521e0d1feb4be340b97edce9a;p=timetracker.git diff --git a/WEB-INF/templates/invoices.tpl b/WEB-INF/templates/invoices.tpl index 56046f45..32d09544 100644 --- a/WEB-INF/templates/invoices.tpl +++ b/WEB-INF/templates/invoices.tpl @@ -11,16 +11,22 @@ {$i18n.label.invoice} {$i18n.label.client} {$i18n.label.date} + {if $user->isPluginEnabled('ps')} + {$i18n.label.paid} + {/if} {$i18n.label.view} {if !$user->isClient()} {$i18n.label.delete} {/if} {foreach $invoices as $invoice} - - {$invoice.name|escape:'html'} - {$invoice.client_name|escape:'html'} + + {$invoice.name|escape} + {$invoice.client_name|escape} {$invoice.date} + {if $user->isPluginEnabled('ps')} + {if $invoice.paid}{$i18n.label.yes}{else}{$i18n.label.no}{/if} + {/if} {$i18n.label.view} {if !$user->isClient()} {$i18n.label.delete} @@ -31,7 +37,7 @@ {if !$user->isClient()} - +


{/if} {/if}