X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/da734ed492c5fb8fb34fab10d13721918d25cae1..d707f7ac60b9dbe7da50d733db1e73eae84952f7:/templates/webpages/do/form_header_master.html diff --git a/templates/webpages/do/form_header_master.html b/templates/webpages/do/form_header_master.html new file mode 100644 index 000000000..4829637d3 --- /dev/null +++ b/templates/webpages/do/form_header_master.html @@ -0,0 +1,345 @@ +[% USE HTML %][% USE LxERP %] + + + + + + + + + + + + + + + [%- IF vc == 'customer' %] + [%- SET vc = 'customer' %] + [%- SET the_vc_id = customer_id %] + [%- SET the_vc = customer %] + [%- SET the_oldvc = oldcustomer %] + [%- SET is_customer = '1' %] + [%- ELSE %] + [%- SET vc = 'vendor' %] + [%- SET the_vc_id = vendor_id %] + [%- SET the_vc = vendor %] + [%- SET the_oldvc = oldvendor %] + [%- SET is_customer = '0' %] + [%- END %] + [%- IF closed %] + [%- SET RO = ' readonly' %] + [%- SET DISABLED = ' disabled' %] + [%- END %] + +
[% title %]
+ + [%- IF ERRORS && ERRORS.size %] +

[% ERRORS.join('
') %]

+ [%- END %] + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+ + + + + + +
+ + + + + + + + [%- IF ALL_CONTACTS.size %] + + + + + [%- END %] + + [%- IF ALL_SHIPTO.size %] + + + + + [%- END %] + + [%- IF business %] + + + + + [%- END %] + + [%- IF max_dunning_level %] + + + + + [%- END %] + + + [%- IF ALL_DEPARTMENTS.size %] + + + + + [%- END %] + + + + + + + + + + + + + + + + +
[% IF is_customer %]Customer[% ELSE %]Vendor[% END %] + [%- UNLESS !closed && SHOW_VC_DROP_DOWN %] + + [%- ELSE %] + + + [%- END %] + +
Contact Person + [%- IF closed %] + + [%- IF cp_id == row.cp_id %] + [%- HTML.escape(row.cp_name) %][%- IF row.cp_abteilung %] ([% HTML.escape(row.cp_abteilung) %])[% END -%] + [%- END %] + [%- ELSE %] + + [%- END %] +
Shipping Address + [%- IF closed %] + + [%- 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 %] + + [%- END %] +
[% IF is_customer %]Customer type[% ELSE %]Vendor type[% END %][% HTML.escape(business) %]
Max. Dunning Level + [% HTML.escape(max_dunning_level) %]; Dunning Amount: + [% HTML.escape(LxERP.format_amount(dunning_amount, 2)) %] +
Department + [%- IF closed %] + + [%- FOREACH row = ALL_DEPARTMENTS %] + [% IF department == row.value %][% HTML.escape(row.description) %]--[% HTML.escape(row.id) %][% END %] + [%- END %] + [%- ELSE %] + + [%- END %] +
Shipping Point
Ship via
Transaction description
+
+ + + [%- IF vc == 'customer' %] + + + + [%- ELSE %] + + [%- END %] + + + + + + + [%- IF is_customer %] + [%- IF salesman_id %] + [%- SET the_salesman_id = salesman_id %] + [%- ELSE %] + [%- SET the_salesman_id = employee_id %] + [%- END %] + + + + + [%- END %] + + + + + + + + + + + + + + + + + [%- UNLESS is_customer %] + + + + + [%- END %] + + + + + + + + + + +
+ + + [%- IF closed %] + + [%- END %] +
Employee + [%- IF closed %] + + [%- FOREACH row = ALL_EMPLOYEES %] + [% IF row.id == employee_id %][%- IF row.name %][%- HTML.escape(row.name) %][%- ELSE %][% HTML.escape(row.login) %][%- END %][% END %] + [%- END %] + [%- ELSE %] + + [%- END %] +
Salesman + [%- IF closed %] + + [%- FOREACH row = ALL_SALESMEN %] + [% IF row.id == the_salesman_id %][%- IF row.name %][%- HTML.escape(row.name) %][%- ELSE %][% HTML.escape(row.login) %][%- END %][% END %] + [%- END %] + [%- ELSE %] + + [%- END %] +
Delivery Order Number
Order Number
Customer Order Number
Order Request Number
Delivery Order Date + + [% UNLESS closed %][% END %] +
Project Number + [%- IF closed %] + + [%- FOREACH row = ALL_PROJECTS %] + [% IF globalproject_id == row.id %][% HTML.escape(row.projectnumber) %][% END %] + [%- END %] + [%- ELSE %] + + [%- END %] +
+