-
- [% title | html %] |
-
-
@@ -34,14 +39,14 @@
[% 'Customer' | $T8 %] |
[%- IF selectcustomer %]
-
+
[%- ELSE %]
-
+
[%- END %]
|
[% L.hidden_tag('selectcustomer', selectcustomer) %]
[% L.hidden_tag('oldcustomer', oldcustomer) %]
- [% L.hidden_tag('oldcustomer', oldcustomer) %]
+ [% L.hidden_tag('customer_id', customer_id) %]
[% L.hidden_tag('terms', terms) %]
@@ -82,7 +87,11 @@
[%- END %]
[% L.checkbox_tag('taxincluded', checked=taxincluded) %] |
- [% 'Tax Included' | $T8 %] |
+ |
+
+
+ [% L.checkbox_tag('direct_debit', checked=direct_debit) %] |
+ |
|
@@ -114,7 +123,7 @@
[% 'Project Number' | $T8 %] |
- [% L.select_tag('globalproject_id', L.options_for_select(ALL_PROJECTS, title='projectnumber', default=globalproject_id, with_empty=1)) %] |
+ [% L.select_tag('globalproject_id', ALL_PROJECTS, title_key = 'projectnumber', default = globalproject_id, with_empty = 1) %] |
@@ -140,9 +149,9 @@
[% row.selectAR_amount %] |
[% L.input_tag('amount_' _ loop.count, LxERP.format_amount(row.amount, 2)) %] |
- [% L.input_tag('tax_' _ loop.count, LxERP.format_tax(row.tax, 2)) %][% LxERP.format_tax(row.tax, 2) | html %] |
- [% row.tax %] |
- [% L.select_tag('project_id_' _ loop.count, L.options_for_select(ALL_PROJECTS, title='projectnumber', default=row.project_id, with_empty=1)) %] |
+ [% L.hidden_tag('tax_' _ loop.count, LxERP.format_tax(row.tax, 2)) %][% LxERP.format_amount(row.tax, 2) | html %] |
+ [% row.taxchart %] |
+ [% L.select_tag('project_id_' _ loop.count, ALL_PROJECTS, title_key = 'projectnumber', default = row.project_id, with_empty = 1) %] |
[%- END %]
@@ -173,6 +182,9 @@
[% 'Notes' | $T8 %] |
|
+
+ [% 'Notes for customer' | $T8 %] |
+ |
@@ -245,7 +257,7 @@
[%- IF row.changeable %]
- [% L.select_tag('paid_project_id_' _ loop.count, L.options_for_select(ALL_PROJECTS, title='projectnumber', default=row.paid_project_id, with_empty=1)) %]
+ [% L.select_tag('paid_project_id_' _ loop.count, ALL_PROJECTS, title_key = 'projectnumber', default = row.paid_project_id, with_empty=1) %]
[%- ELSE %]
[% project_labels.${row.paid_project_id} | html %]
@@ -273,7 +285,6 @@
|
-
-
|
-
+