X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Finvoices.tpl;h=32d09544fb213a4b8c39ddc328d852fd89ba7170;hb=7916f561fed6b50348f144fc411ca82ee9bd5ebb;hp=ad8f53731ee35cc289d58e992ec40b7aa4888539;hpb=9a23a8c0a51b7ec38a96f525484134f3cb85dc7e;p=timetracker.git diff --git a/WEB-INF/templates/invoices.tpl b/WEB-INF/templates/invoices.tpl index ad8f5373..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} @@ -28,10 +34,10 @@ {/foreach} - + {if !$user->isClient()} - +


{/if} {/if}