X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b8916e5c2982dd12e0a612252c85f5e1648e162c..c8c6d6d:/templates/webpages/is/_payments_master.html diff --git a/templates/webpages/is/_payments_master.html b/templates/webpages/is/_payments_master.html index 09c0812c2..1c39b20e3 100644 --- a/templates/webpages/is/_payments_master.html +++ b/templates/webpages/is/_payments_master.html @@ -1,100 +1,87 @@ +[%- USE LxERP %][% USE T8 %] +
| [%- 'Payments' | $T8 %] | +[% ELSE %] +[%- 'Incoming Payments' | $T8 %] | +[%- END %] +||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| [%- 'Date' | $T8 %] | +[%- 'Source' | $T8 %] | +[%- 'Memo' | $T8 %] | +[%- 'Amount' | $T8 %] | +[% IF show_exchangerate %] +[%- 'Exch' | $T8 %] | +[% END %] +[%- 'Account' | $T8 %] | +||||||
| + + + | ++ | + | +[% IF show_exchangerate %] + | + [% SET forex = 'forex_' _ i %] + [% SET exchangerate = 'exchangerate_' _ i %] + [% IF forex %] + + [% LxERP.format_amount(exchangerate, 2) %] + [% ELSE %] + + [% END %] + ; + | +[% END %] ++ | " . $locale->text('Date') . " | "; - $column_data{paid} = "" . $locale->text('Amount') . " | "; - $column_data{exchangerate} = "" . $locale->text('Exch') . " | "; - $column_data{AR_paid} = "" . $locale->text('Account') . " | "; - $column_data{source} = "" . $locale->text('Source') . " | "; - $column_data{memo} = "" . $locale->text('Memo') . " | "; - -
| |; - $column_data{"exchangerate_$i"} = qq| | $exchangerate | |; - $column_data{"AR_paid_$i"} = - qq||; - $column_data{"datepaid_$i"} = - qq| | - | |; - $column_data{"source_$i"} = - qq||; - $column_data{"memo_$i"} = - qq| | |; - - map { print qq|$column_data{"${_}_$i"}\n| } @column_index; - print " - | ||||||
| - | | . $locale->text('Total') . qq| | -| . H($form->format_amount(\%myconfig, $totalpaid, 2)) . qq| | +[%- 'Total' | $T8 %] | +[% LxERP.foramt_amount(totalpaid, 2) | html %] | |||||||
| - | | . $locale->text('Missing amount') . qq| | -| . H($form->format_amount(\%myconfig, $paid_missing, 2)) . qq| | +[%- 'Missing amount' | $T8 %] | +[% LxERP.format_amount(paid_missing, 2) | html %] | |||||||