X-Git-Url: http://wagnertech.de/git?p=kivitendo-erp.git;a=blobdiff_plain;f=templates%2Fwebpages%2Fcustomer_vendor_turnover%2Finvoices_statistic.html;fp=templates%2Fwebpages%2Fcustomer_vendor_turnover%2Finvoices_statistic.html;h=8d6e61bbdbb84d76ba3277c60abb65938ce87f61;hp=0000000000000000000000000000000000000000;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hpb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44 diff --git a/templates/webpages/customer_vendor_turnover/invoices_statistic.html b/templates/webpages/customer_vendor_turnover/invoices_statistic.html new file mode 100644 index 000000000..8d6e61bbd --- /dev/null +++ b/templates/webpages/customer_vendor_turnover/invoices_statistic.html @@ -0,0 +1,55 @@ +[%- USE T8 %] +[%- USE LxERP %] +[%- USE L %] +[%- USE HTML %] +
+ + + + + + + + + + + + + [%- FOREACH row = invoices %] + [% IF FORM.db == 'customer' %] + [% IF row.type == 'invoice' %] + [% SET type = 'Invoice (one letter abbreviation)' %] + [% SET link = 'is.pl' %] + [% ELSIF row.type == 'credit_note' %] + [% SET type = 'Credit note (one letter abbreviation)' %] + [% SET link = 'is.pl' %] + [% ELSE %] + [% SET type = 'AR Transaction (abbreviation)' %] + [% SET link = 'ar.pl' %] + [% END %] + [% ELSE %] + [% IF row.invoice %] + [% SET type = 'Invoice (one letter abbreviation)' %] + [% SET link = 'ir.pl' %] + [% ELSE %] + [% SET type = 'AP Transaction (abbreviation)' %] + [% SET link = 'ap.pl' %] + [% END %] + [% END %] + + + + + + + + + [% END %] + +
[% 'Type' | $T8 %][% 'Invoice Number' | $T8 %][% 'Invoice Date' | $T8 %][% 'Amount' | $T8 %][% 'Inv. Duedate' | $T8 %][% 'Paid' | $T8 %][% 'Open Amount' | $T8 %]
[% type | $T8 %][% row.invnumber | html %][% row.transdate.to_kivitendo | html %][%- LxERP.format_amount(row.amount, 2) %][% row.duedate.to_kivitendo | html %][%- LxERP.format_amount(row.paid, 2) %][%- LxERP.format_amount(row.amount - row.paid, 2) %] +
+ + + + +