@@ -32,9 +40,9 @@
| [% 'Customer' | $T8 %] |
[%- IF selectcustomer %]
-
+
[%- ELSE %]
-
+
[%- END %]
|
[% L.hidden_tag('selectcustomer', selectcustomer) %]
@@ -66,7 +74,7 @@
[% L.hidden_tag('forex', forex) %]
[% IF show_exch %]
[% 'Exchangerate' | $T8 %] |
- [%- IF forex %][% L.hidden_tag(exchangerate, LxERP.format_amount(exchangerate, 2)) %][% LxERP.format_amount(exchangerate, 2) %][%- ELSE %][% L.input_tag(exchangerate, LxERP.format_amount(exchangerate, 2), size=10) %][%- END %] |
+ [%- IF forex %][% L.hidden_tag('exchangerate', LxERP.format_amount(exchangerate, 2)) %][% LxERP.format_amount(exchangerate, 2) %][%- ELSE %][% L.input_tag('exchangerate', LxERP.format_amount(exchangerate, 2), size=10) %][%- END %] |
[% END %]
[% department_html %]
@@ -194,6 +202,7 @@
[% 'Source' | $T8 %] |
[% 'Memo' | $T8 %] |
[% 'Amount' | $T8 %] |
+ |
[%- IF show_exch %]
[% 'Exch' | $T8 %] |
[%- END %]
@@ -205,7 +214,7 @@
|
[%- IF row.changeable %]
- [% L.date_tag('datepaid_' _ loop.count, row.datepaid) %]
+ [% L.date_tag('datepaid_' _ loop.count, row.datepaid ? row.datepaid : today) %]
[%- ELSE %]
[% row.datepaid | html %][% L.hidden_tag('datepaid_' _ loop.count, row.datepaid) %]
[%- END %]
@@ -231,6 +240,11 @@
[% row.paid | html %]
[%- END %]
|
+
+ [% IF row.changeable && loop.last && paid_missing > 0 %]
+
+ [% END %]
+ |
[%- IF show_exch %]
[%- IF row.forex || !row.changeable%]
@@ -278,7 +292,10 @@
|
|
-