[% IF is_customer %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %] |
[%- UNLESS !delivered && SHOW_VC_DROP_DOWN %]
[%- ELSE %]
[%- END %]
|
[%- IF ALL_CONTACTS.size %]
[% 'Contact Person' | $T8 %] |
[%- IF delivered %]
[%- IF cp_id == row.cp_id %]
[%- HTML.escape(row.cp_name) %][%- IF row.cp_abteilung %] ([% HTML.escape(row.cp_abteilung) %])[% END -%]
[%- END %]
[%- ELSE %]
[% L.select_tag('cp_id', ALL_CONTACTS, default = cp_id, value_key = 'cp_id', title_key = 'full_name_dep', with_empty = 1, style='width: 250px') %]
[%- END %]
|
[%- END %]
[%- IF ALL_SHIPTO.size %]
[% 'Shipping Address' | $T8 %] |
[%- IF delivered %]
[%- FOREACH row = ALL_SHIPTO %]
[%- IF shipto_id == row.shipto_id %]
[%- HTML.escape(row.shiptoname) -%]
[%- IF row.shiptodepartment_1 %]; [% HTML.escape(row.shiptodepartment_1) -%][% END -%]
[%- IF row.shiptostreet %]; [% HTML.escape(row.shiptostreet) -%][% END -%]
[%- IF row.shiptocity %]; [% HTML.escape(row.shiptocity) -%][% END -%]
[%- END %]
[%- END %]
[%- ELSE %]
[% L.select_tag('shipto_id', ALL_SHIPTO, default = shipto_id, value_key = 'shipto_id', title_key = 'displayable_id', with_empty = 1, class = 'fixed_width') %]
[%- END %]
|
[%- END %]
[%- IF business %]
[% IF is_customer %][% 'Customer type' | $T8 %][% ELSE %][% 'Vendor type' | $T8 %][% END %] |
[% HTML.escape(business) %] |
[%- END %]
[%- IF max_dunning_level %]
[% 'Max. Dunning Level' | $T8 %] |
[% HTML.escape(max_dunning_level) %]; [% 'Dunning Amount' | $T8 %]:
[% HTML.escape(LxERP.format_amount(dunning_amount, 2)) %]
|
[%- END %]
[%- IF ALL_DEPARTMENTS.size %]
[% 'Department' | $T8 %] |
[% IF ( delivered ) %]
[% L.hidden_tag('department_id', department_id) %]
[% END %]
[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, style = 'width: 250px', disabled = delivered )%]
|
[%- END %]
[% 'Shipping Point' | $T8 %] |
|
[% 'Ship via' | $T8 %] |
|
[% 'Transaction description' | $T8 %] |
|
|
|