From: Sven Schöling Date: Thu, 21 Feb 2008 14:39:17 +0000 (+0000) Subject: Refactoring. X-Git-Tag: release-2.6.0beta1~220 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2a5030b2dcfe53c431a7498b7bae56939020643b;p=kivitendo-erp.git Refactoring. Angleichung der Templatenamen in OE an das allgemeine Namensschema. --- diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index 32130b9fe..acfa4c2d7 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -471,7 +471,7 @@ sub form_header { is_pur_ord => scalar ($form->{type} =~ /purchase_order$/), ); - print $form->parse_html_template("oe/orders_header", { %TMPL_VAR }); + print $form->parse_html_template("oe/form_header", { %TMPL_VAR }); $lxdebug->leave_sub(); } @@ -530,7 +530,7 @@ sub form_footer { $form->{oldinvtotal} = $form->{invtotal}; - print $form->parse_html_template("oe/orders_footer", { + print $form->parse_html_template("oe/form_footer", { %TMPL_VAR, webdav => $webdav, print_options => print_options(inline => 1), diff --git a/templates/webpages/oe/form_footer_de.html b/templates/webpages/oe/form_footer_de.html new file mode 100644 index 000000000..9785de14c --- /dev/null +++ b/templates/webpages/oe/form_footer_de.html @@ -0,0 +1,161 @@ +[%- USE HTML %] +[%- USE LxERP %] + + + + + +[%- IF is_sales %] + +[%- END %] + + +
+ + + + + + + + + + + + + + [%- IF id && num_follow_ups %] + + + + [%- END %] +
Bemerkungeninterne Bemerkungen
[% notes %][% intnotes %]
Zahlungskonditionen + [%- INCLUDE 'generic/multibox.html' + name = 'payment_id', + style = 'width: 250px', + DATA = ALL_PAYMENTS, + id_key = 'id', + label_key = 'description', + show_empty = 1 -%] +
[% LxERP.format_string('Es gibt #1 Wiedervorlage(n), von denen #2 fällig ist/sind.', num_follow_ups, num_due_follow_ups) %]
+
+ + + + + + + + + + + + + + +
Ertrag[% LxERP.format_amount(marge_total, 2) %]
Ertrag prozentual[% LxERP.format_amount(marge_percent, 2) %]%
+
+[%- IF taxaccounts %] + Steuer im Preis inbegriffen

+[%- END %] + + [% subtotal %] + [% tax %] + + + + +
Summe[% LxERP.format_amount(invtotal, 2) %]
+
+ + + + + +
+ + +[%- IF webdav %] + + Dokumente im Webdav-Repository + + + + + + + + + [%- FOREACH file="WEBDAV" %] + + + + + [%- END %] +
DateinameWebdavlink
[% HTML.escape(file.name) %][% HTML.escape(file.type) %]
+ + + +
+ +[%- END %] + + + + [% print_options %] + + + + +[% label_edit %]
+ + + + + + + +[%- IF id %] + + + +
[% label_workflow %]
+ + + + [%- IF is_sales_quo %] + + [%- END %] + + [%- IF is_req_quo %] + + [%- END %] + + [%- IF is_sales_ord || is_pur_ord %] + + [%- END %] + + + +
[% heading %] als neue Vorlage verwenden für
+ [%- IF is_sales_ord %] + + + [%- ELSE %] + [%- IF is_pur_ord %] + + + [%- ELSE %] + + [%- END %] + [%- END %] +[%- END %] + + + + + + + + + diff --git a/templates/webpages/oe/form_footer_master.html b/templates/webpages/oe/form_footer_master.html new file mode 100644 index 000000000..e866ff88f --- /dev/null +++ b/templates/webpages/oe/form_footer_master.html @@ -0,0 +1,161 @@ +[%- USE HTML %] +[%- USE LxERP %] + + + + + +[%- IF is_sales %] + +[%- END %] + + +
+ + + + + + + + + + + + + + [%- IF id && num_follow_ups %] + + + + [%- END %] +
NotesInternal Notes
[% notes %][% intnotes %]
Payment Terms + [%- INCLUDE 'generic/multibox.html' + name = 'payment_id', + style = 'width: 250px', + DATA = ALL_PAYMENTS, + id_key = 'id', + label_key = 'description', + show_empty = 1 -%] +
[% LxERP.format_string('There are #1 unfinished follow-ups of which #2 are due.', num_follow_ups, num_due_follow_ups) %]
+
+ + + + + + + + + + + + + + +
Ertrag[% LxERP.format_amount(marge_total, 2) %]
Ertrag prozentual[% LxERP.format_amount(marge_percent, 2) %]%
+
+[%- IF taxaccounts %] + Tax Included

+[%- END %] + + [% subtotal %] + [% tax %] + + + + +
Total[% LxERP.format_amount(invtotal, 2) %]
+
+ + + + + +
+ + +[%- IF webdav %] + + Dokumente im Webdav-Repository + + + + + + + + + [%- FOREACH file="WEBDAV" %] + + + + + [%- END %] +
DateinameWebdavlink
[% HTML.escape(file.name) %][% HTML.escape(file.type) %]
+ + + +
+ +[%- END %] + + + + [% print_options %] + + + + +[% label_edit %]
+ + + + + + + +[%- IF id %] + + + +
[% label_workflow %]
+ + + + [%- IF is_sales_quo %] + + [%- END %] + + [%- IF is_req_quo %] + + [%- END %] + + [%- IF is_sales_ord || is_pur_ord %] + + [%- END %] + + + +
[% heading %] als neue Vorlage verwenden für
+ [%- IF is_sales_ord %] + + + [%- ELSE %] + [%- IF is_pur_ord %] + + + [%- ELSE %] + + [%- END %] + [%- END %] +[%- END %] + + + + + + + + + diff --git a/templates/webpages/oe/form_header_de.html b/templates/webpages/oe/form_header_de.html new file mode 100644 index 000000000..209d4fa1f --- /dev/null +++ b/templates/webpages/oe/form_header_de.html @@ -0,0 +1,259 @@ +[%- USE HTML %] +[%- USE LxERP %] + + +
+ + + + + + + + +[%- FOREACH row = HIDDENS %] + +[%- END %] + + + + + + +
[% title %]
+ + + + + + + + [% jsscript %] diff --git a/templates/webpages/oe/form_header_master.html b/templates/webpages/oe/form_header_master.html new file mode 100644 index 000000000..f5df7d648 --- /dev/null +++ b/templates/webpages/oe/form_header_master.html @@ -0,0 +1,259 @@ +[%- USE HTML %] +[%- USE LxERP %] + + + + + + + + + + + +[%- FOREACH row = HIDDENS %] + +[%- END %] + + + + + + +
[% title %]
+ +
+ + + + + +
+ + + + + +[%- IF ALL_CONTACTS.size %] + + + + +[%- END %] +[%- IF ALL_SHIPTO.size %] + + + + +[%- END %] +[%- IF is_order %] + + + + +[%- END %] +[%- IF business %] + + + + +[%- END %] +[%- IF max_dunning_level %] + + + + +[%- END %] + + + + +[%- IF selectdepartment %] + + + + +[%- END %] + +[%- IF currencies %] + + + + +[%- END %] +[%- IF show_exchangerate %] + + + + +[%- END %] +[%- IF is_sales %] + + + + +[%- END %] + + + + + + + + + + + + +[%- IF show_delivery_customer %] + + + +[%- END %] +
[% IF vc == 'customer' %]Kunde[% ELSE %]Lieferant[% END %] + [%- INCLUDE 'generic/multibox.html' + name = vc, + style = 'width: 250px', + DATA = vc == 'customer' ? ALL_CUSTOMERS : ALL_VENDORS, + id_sub = 'vc_keys', + label_key = 'name', + select = vc_select, + limit = vclimit, + onChange = "document.getElementById('update_button').click();" -%] + +
Ansprechpartner + [%- INCLUDE 'generic/multibox.html' + name = 'cp_id', + style = 'width: 250px', + DATA = ALL_CONTACTS, + id_key = 'cp_id', + label_sub = 'contact_labels', + show_empty = 1 -%] +
Lieferadresse + [%- INCLUDE 'generic/multibox.html' + name = 'shipto_id', + style = 'width: 250px', + DATA = ALL_SHIPTO, + id_key = 'shipto_id', + label_sub = 'shipto_labels', + show_empty = 1, + onChange = "document.getElementById('update_button').click();" -%] +
Kreditlimit[% LxERP.format_amount(creditlimit, 0) %]; Rest [% LxERP.format_amount(creditremaining, 0) %]
[% business_label %][% HTML.escape(business) %]; Rabatt [% LxERP.format_percent(tradediscount) %] %
höchste Mahnstufe: + [% HTML.escape(max_dunning_level) %]; + gemahnter Betrag: [% LxERP.format_amount(dunning_amount, 2) %] +
Steuersatz + [%- INCLUDE 'generic/multibox.html' + name = 'taxzone_id', + style = 'width: 250px', + DATA = ALL_TAXZONES, + id_key = 'id', + label_key = 'description' -%] +
Abteilung + +
Währung[% currencies %]
Wechselkurs + [%- IF forex %] + [% LxERP.format_amount(exchangerate, 0) %] + [%- ELSE %] + + [%- END %] +
Motiv
Versandort
Transportmittel
Vorgangsbezeichnung
+ + + + + + + + + +
+ + +
+ + +
+
+
+ + [% openclosed %] + + + + +[%- IF is_sales and ALL_SALESMEN.size %] + + + + +[%- END %] +[%- IF is_order %] + + + + +[%- END %] + + + + +[%- IF is_order %] + + + + +[%- END %] + + + [% button1 %] + + + + [% button2 %] + + + + + +
Bearbeiter + [%- INCLUDE 'generic/multibox.html' + name = 'employee_id', + DATA = ALL_EMPLOYEES, + id_key = 'id', + label_sub = 'sales_employee_labels' -%] +
Verkäufer/in + [%- INCLUDE 'generic/multibox.html' + name = 'salesman_id', + default = salesman_id ? salesman_id : employee_id, + DATA = ALL_SALESMEN, + id_key = 'id', + label_sub = 'sales_employee_labels' -%] +
Auftragsnummer
[% IF is_req_quo %]Anfragenummer[% ELSE %]Angebotsnummer[% END %]
Bestellnummer des Kunden
+ [%- IF is_order %] + Auftragsdatum + [%- ELSE %] + Angebotsdatum + [%- END %] +
+ [%- IF is_sales_quo %] + gültig bis + [%- ELSE %] + Lieferdatum + [%- END %] +
Projektnummer + [%- INCLUDE 'generic/multibox.html' + name = 'globalproject_id', + DATA = ALL_PROJECTS, + id_key = 'id', + label_key = 'projectnumber', + show_empty = 1, + onChange = "document.getElementById('update_button').click();" -%] +
+
+
+ + + + + + [% jsscript %] diff --git a/templates/webpages/oe/orders_footer_de.html b/templates/webpages/oe/orders_footer_de.html deleted file mode 100644 index 9785de14c..000000000 --- a/templates/webpages/oe/orders_footer_de.html +++ /dev/null @@ -1,161 +0,0 @@ -[%- USE HTML %] -[%- USE LxERP %] - - - - - - - - - -[%- IF webdav %] - - - - - - - - - -[%- END %] - - - - -
+ + + + + +
+ + + + + +[%- IF ALL_CONTACTS.size %] + + + + +[%- END %] +[%- IF ALL_SHIPTO.size %] + + + + +[%- END %] +[%- IF is_order %] + + + + +[%- END %] +[%- IF business %] + + + + +[%- END %] +[%- IF max_dunning_level %] + + + + +[%- END %] + + + + +[%- IF selectdepartment %] + + + + +[%- END %] + +[%- IF currencies %] + + + + +[%- END %] +[%- IF show_exchangerate %] + + + + +[%- END %] +[%- IF is_sales %] + + + + +[%- END %] + + + + + + + + + + + + +[%- IF show_delivery_customer %] + + + +[%- END %] +
[% IF vc == 'customer' %]Customer[% ELSE %]Vendor[% END %] + [%- INCLUDE 'generic/multibox.html' + name = vc, + style = 'width: 250px', + DATA = vc == 'customer' ? ALL_CUSTOMERS : ALL_VENDORS, + id_sub = 'vc_keys', + label_key = 'name', + select = vc_select, + limit = vclimit, + onChange = "document.getElementById('update_button').click();" -%] + +
Contact Person + [%- INCLUDE 'generic/multibox.html' + name = 'cp_id', + style = 'width: 250px', + DATA = ALL_CONTACTS, + id_key = 'cp_id', + label_sub = 'contact_labels', + show_empty = 1 -%] +
Shipping Address + [%- INCLUDE 'generic/multibox.html' + name = 'shipto_id', + style = 'width: 250px', + DATA = ALL_SHIPTO, + id_key = 'shipto_id', + label_sub = 'shipto_labels', + show_empty = 1, + onChange = "document.getElementById('update_button').click();" -%] +
Credit Limit[% LxERP.format_amount(creditlimit, 0) %]; Remaining [% LxERP.format_amount(creditremaining, 0) %]
[% business_label %][% HTML.escape(business) %]; Trade Discount [% LxERP.format_percent(tradediscount) %] %
Max. Dunning Level: + [% HTML.escape(max_dunning_level) %]; + Dunning Amount: [% LxERP.format_amount(dunning_amount, 2) %] +
Steuersatz + [%- INCLUDE 'generic/multibox.html' + name = 'taxzone_id', + style = 'width: 250px', + DATA = ALL_TAXZONES, + id_key = 'id', + label_key = 'description' -%] +
Department + +
Currency[% currencies %]
Exchangerate + [%- IF forex %] + [% LxERP.format_amount(exchangerate, 0) %] + [%- ELSE %] + + [%- END %] +
Motiv
Shipping Point
Ship via
Transaction description
+ + + + + + + + + +
+ + +
+ + +
+
+
+ + [% openclosed %] + + + + +[%- IF is_sales and ALL_SALESMEN.size %] + + + + +[%- END %] +[%- IF is_order %] + + + + +[%- END %] + + + + +[%- IF is_order %] + + + + +[%- END %] + + + [% button1 %] + + + + [% button2 %] + + + + + +
Employee + [%- INCLUDE 'generic/multibox.html' + name = 'employee_id', + DATA = ALL_EMPLOYEES, + id_key = 'id', + label_sub = 'sales_employee_labels' -%] +
Salesman + [%- INCLUDE 'generic/multibox.html' + name = 'salesman_id', + default = salesman_id ? salesman_id : employee_id, + DATA = ALL_SALESMEN, + id_key = 'id', + label_sub = 'sales_employee_labels' -%] +
Order Number
[% IF is_req_quo %]RFQ Number[% ELSE %]Quotation Number[% END %]
Customer Order Number
+ [%- IF is_order %] + Order Date + [%- ELSE %] + Quotation Date + [%- END %] +
+ [%- IF is_sales_quo %] + Valid until + [%- ELSE %] + Required by + [%- END %] +
Project Number + [%- INCLUDE 'generic/multibox.html' + name = 'globalproject_id', + DATA = ALL_PROJECTS, + id_key = 'id', + label_key = 'projectnumber', + show_empty = 1, + onChange = "document.getElementById('update_button').click();" -%] +
+
+
- - - -[%- IF is_sales %] - -[%- END %] - - -
- - - - - - - - - - - - - - [%- IF id && num_follow_ups %] - - - - [%- END %] -
Bemerkungeninterne Bemerkungen
[% notes %][% intnotes %]
Zahlungskonditionen - [%- INCLUDE 'generic/multibox.html' - name = 'payment_id', - style = 'width: 250px', - DATA = ALL_PAYMENTS, - id_key = 'id', - label_key = 'description', - show_empty = 1 -%] -
[% LxERP.format_string('Es gibt #1 Wiedervorlage(n), von denen #2 fällig ist/sind.', num_follow_ups, num_due_follow_ups) %]
-
- - - - - - - - - - - - - - -
Ertrag[% LxERP.format_amount(marge_total, 2) %]
Ertrag prozentual[% LxERP.format_amount(marge_percent, 2) %]%
-
-[%- IF taxaccounts %] - Steuer im Preis inbegriffen

-[%- END %] - - [% subtotal %] - [% tax %] - - - - -
Summe[% LxERP.format_amount(invtotal, 2) %]
-
-

Dokumente im Webdav-Repository
- - - - - - [%- FOREACH file="WEBDAV" %] - - - - - [%- END %] -
DateinameWebdavlink
[% HTML.escape(file.name) %][% HTML.escape(file.type) %]
-

- [% print_options %] -
- -[% label_edit %]
- - - - - - - -[%- IF id %] - - - -
[% label_workflow %]
- - - - [%- IF is_sales_quo %] - - [%- END %] - - [%- IF is_req_quo %] - - [%- END %] - - [%- IF is_sales_ord || is_pur_ord %] - - [%- END %] - - - -
[% heading %] als neue Vorlage verwenden für
- [%- IF is_sales_ord %] - - - [%- ELSE %] - [%- IF is_pur_ord %] - - - [%- ELSE %] - - [%- END %] - [%- END %] -[%- END %] - - - - - -
- - - diff --git a/templates/webpages/oe/orders_footer_master.html b/templates/webpages/oe/orders_footer_master.html deleted file mode 100644 index e866ff88f..000000000 --- a/templates/webpages/oe/orders_footer_master.html +++ /dev/null @@ -1,161 +0,0 @@ -[%- USE HTML %] -[%- USE LxERP %] - - - - - -[%- IF is_sales %] - -[%- END %] - - -
- - - - - - - - - - - - - - [%- IF id && num_follow_ups %] - - - - [%- END %] -
NotesInternal Notes
[% notes %][% intnotes %]
Payment Terms - [%- INCLUDE 'generic/multibox.html' - name = 'payment_id', - style = 'width: 250px', - DATA = ALL_PAYMENTS, - id_key = 'id', - label_key = 'description', - show_empty = 1 -%] -
[% LxERP.format_string('There are #1 unfinished follow-ups of which #2 are due.', num_follow_ups, num_due_follow_ups) %]
-
- - - - - - - - - - - - - - -
Ertrag[% LxERP.format_amount(marge_total, 2) %]
Ertrag prozentual[% LxERP.format_amount(marge_percent, 2) %]%
-
-[%- IF taxaccounts %] - Tax Included

-[%- END %] - - [% subtotal %] - [% tax %] - - - - -
Total[% LxERP.format_amount(invtotal, 2) %]
-
- - - - - -
- - -[%- IF webdav %] - - Dokumente im Webdav-Repository - - - - - - - - - [%- FOREACH file="WEBDAV" %] - - - - - [%- END %] -
DateinameWebdavlink
[% HTML.escape(file.name) %][% HTML.escape(file.type) %]
- - - -
- -[%- END %] - - - - [% print_options %] - - - - -[% label_edit %]
- - - - - - - -[%- IF id %] - - - -
[% label_workflow %]
- - - - [%- IF is_sales_quo %] - - [%- END %] - - [%- IF is_req_quo %] - - [%- END %] - - [%- IF is_sales_ord || is_pur_ord %] - - [%- END %] - - - -
[% heading %] als neue Vorlage verwenden für
- [%- IF is_sales_ord %] - - - [%- ELSE %] - [%- IF is_pur_ord %] - - - [%- ELSE %] - - [%- END %] - [%- END %] -[%- END %] - - - - - - - - - diff --git a/templates/webpages/oe/orders_header_de.html b/templates/webpages/oe/orders_header_de.html deleted file mode 100644 index 209d4fa1f..000000000 --- a/templates/webpages/oe/orders_header_de.html +++ /dev/null @@ -1,259 +0,0 @@ -[%- USE HTML %] -[%- USE LxERP %] - - -
- - - - - - - - -[%- FOREACH row = HIDDENS %] - -[%- END %] - - - - - - -
[% title %]
- - - - - - - - [% jsscript %] diff --git a/templates/webpages/oe/orders_header_master.html b/templates/webpages/oe/orders_header_master.html deleted file mode 100644 index f5df7d648..000000000 --- a/templates/webpages/oe/orders_header_master.html +++ /dev/null @@ -1,259 +0,0 @@ -[%- USE HTML %] -[%- USE LxERP %] - - - - - - - - - - - -[%- FOREACH row = HIDDENS %] - -[%- END %] - - - - - - -
[% title %]
- -
- - - - - -
- - - - - -[%- IF ALL_CONTACTS.size %] - - - - -[%- END %] -[%- IF ALL_SHIPTO.size %] - - - - -[%- END %] -[%- IF is_order %] - - - - -[%- END %] -[%- IF business %] - - - - -[%- END %] -[%- IF max_dunning_level %] - - - - -[%- END %] - - - - -[%- IF selectdepartment %] - - - - -[%- END %] - -[%- IF currencies %] - - - - -[%- END %] -[%- IF show_exchangerate %] - - - - -[%- END %] -[%- IF is_sales %] - - - - -[%- END %] - - - - - - - - - - - - -[%- IF show_delivery_customer %] - - - -[%- END %] -
[% IF vc == 'customer' %]Kunde[% ELSE %]Lieferant[% END %] - [%- INCLUDE 'generic/multibox.html' - name = vc, - style = 'width: 250px', - DATA = vc == 'customer' ? ALL_CUSTOMERS : ALL_VENDORS, - id_sub = 'vc_keys', - label_key = 'name', - select = vc_select, - limit = vclimit, - onChange = "document.getElementById('update_button').click();" -%] - -
Ansprechpartner - [%- INCLUDE 'generic/multibox.html' - name = 'cp_id', - style = 'width: 250px', - DATA = ALL_CONTACTS, - id_key = 'cp_id', - label_sub = 'contact_labels', - show_empty = 1 -%] -
Lieferadresse - [%- INCLUDE 'generic/multibox.html' - name = 'shipto_id', - style = 'width: 250px', - DATA = ALL_SHIPTO, - id_key = 'shipto_id', - label_sub = 'shipto_labels', - show_empty = 1, - onChange = "document.getElementById('update_button').click();" -%] -
Kreditlimit[% LxERP.format_amount(creditlimit, 0) %]; Rest [% LxERP.format_amount(creditremaining, 0) %]
[% business_label %][% HTML.escape(business) %]; Rabatt [% LxERP.format_percent(tradediscount) %] %
höchste Mahnstufe: - [% HTML.escape(max_dunning_level) %]; - gemahnter Betrag: [% LxERP.format_amount(dunning_amount, 2) %] -
Steuersatz - [%- INCLUDE 'generic/multibox.html' - name = 'taxzone_id', - style = 'width: 250px', - DATA = ALL_TAXZONES, - id_key = 'id', - label_key = 'description' -%] -
Abteilung - -
Währung[% currencies %]
Wechselkurs - [%- IF forex %] - [% LxERP.format_amount(exchangerate, 0) %] - [%- ELSE %] - - [%- END %] -
Motiv
Versandort
Transportmittel
Vorgangsbezeichnung
- - - - - - - - - -
- - -
- - -
-
-
- - [% openclosed %] - - - - -[%- IF is_sales and ALL_SALESMEN.size %] - - - - -[%- END %] -[%- IF is_order %] - - - - -[%- END %] - - - - -[%- IF is_order %] - - - - -[%- END %] - - - [% button1 %] - - - - [% button2 %] - - - - - -
Bearbeiter - [%- INCLUDE 'generic/multibox.html' - name = 'employee_id', - DATA = ALL_EMPLOYEES, - id_key = 'id', - label_sub = 'sales_employee_labels' -%] -
Verkäufer/in - [%- INCLUDE 'generic/multibox.html' - name = 'salesman_id', - default = salesman_id ? salesman_id : employee_id, - DATA = ALL_SALESMEN, - id_key = 'id', - label_sub = 'sales_employee_labels' -%] -
Auftragsnummer
[% IF is_req_quo %]Anfragenummer[% ELSE %]Angebotsnummer[% END %]
Bestellnummer des Kunden
- [%- IF is_order %] - Auftragsdatum - [%- ELSE %] - Angebotsdatum - [%- END %] -
- [%- IF is_sales_quo %] - gültig bis - [%- ELSE %] - Lieferdatum - [%- END %] -
Projektnummer - [%- INCLUDE 'generic/multibox.html' - name = 'globalproject_id', - DATA = ALL_PROJECTS, - id_key = 'id', - label_key = 'projectnumber', - show_empty = 1, - onChange = "document.getElementById('update_button').click();" -%] -
-
-
- - - - - - [% jsscript %]
- - - - - -
- - - - - -[%- IF ALL_CONTACTS.size %] - - - - -[%- END %] -[%- IF ALL_SHIPTO.size %] - - - - -[%- END %] -[%- IF is_order %] - - - - -[%- END %] -[%- IF business %] - - - - -[%- END %] -[%- IF max_dunning_level %] - - - - -[%- END %] - - - - -[%- IF selectdepartment %] - - - - -[%- END %] - -[%- IF currencies %] - - - - -[%- END %] -[%- IF show_exchangerate %] - - - - -[%- END %] -[%- IF is_sales %] - - - - -[%- END %] - - - - - - - - - - - - -[%- IF show_delivery_customer %] - - - -[%- END %] -
[% IF vc == 'customer' %]Customer[% ELSE %]Vendor[% END %] - [%- INCLUDE 'generic/multibox.html' - name = vc, - style = 'width: 250px', - DATA = vc == 'customer' ? ALL_CUSTOMERS : ALL_VENDORS, - id_sub = 'vc_keys', - label_key = 'name', - select = vc_select, - limit = vclimit, - onChange = "document.getElementById('update_button').click();" -%] - -
Contact Person - [%- INCLUDE 'generic/multibox.html' - name = 'cp_id', - style = 'width: 250px', - DATA = ALL_CONTACTS, - id_key = 'cp_id', - label_sub = 'contact_labels', - show_empty = 1 -%] -
Shipping Address - [%- INCLUDE 'generic/multibox.html' - name = 'shipto_id', - style = 'width: 250px', - DATA = ALL_SHIPTO, - id_key = 'shipto_id', - label_sub = 'shipto_labels', - show_empty = 1, - onChange = "document.getElementById('update_button').click();" -%] -
Credit Limit[% LxERP.format_amount(creditlimit, 0) %]; Remaining [% LxERP.format_amount(creditremaining, 0) %]
[% business_label %][% HTML.escape(business) %]; Trade Discount [% LxERP.format_percent(tradediscount) %] %
Max. Dunning Level: - [% HTML.escape(max_dunning_level) %]; - Dunning Amount: [% LxERP.format_amount(dunning_amount, 2) %] -
Steuersatz - [%- INCLUDE 'generic/multibox.html' - name = 'taxzone_id', - style = 'width: 250px', - DATA = ALL_TAXZONES, - id_key = 'id', - label_key = 'description' -%] -
Department - -
Currency[% currencies %]
Exchangerate - [%- IF forex %] - [% LxERP.format_amount(exchangerate, 0) %] - [%- ELSE %] - - [%- END %] -
Motiv
Shipping Point
Ship via
Transaction description
- - - - - - - - - -
- - -
- - -
-
-
- - [% openclosed %] - - - - -[%- IF is_sales and ALL_SALESMEN.size %] - - - - -[%- END %] -[%- IF is_order %] - - - - -[%- END %] - - - - -[%- IF is_order %] - - - - -[%- END %] - - - [% button1 %] - - - - [% button2 %] - - - - - -
Employee - [%- INCLUDE 'generic/multibox.html' - name = 'employee_id', - DATA = ALL_EMPLOYEES, - id_key = 'id', - label_sub = 'sales_employee_labels' -%] -
Salesman - [%- INCLUDE 'generic/multibox.html' - name = 'salesman_id', - default = salesman_id ? salesman_id : employee_id, - DATA = ALL_SALESMEN, - id_key = 'id', - label_sub = 'sales_employee_labels' -%] -
Order Number
[% IF is_req_quo %]RFQ Number[% ELSE %]Quotation Number[% END %]
Customer Order Number
- [%- IF is_order %] - Order Date - [%- ELSE %] - Quotation Date - [%- END %] -
- [%- IF is_sales_quo %] - Valid until - [%- ELSE %] - Required by - [%- END %] -
Project Number - [%- INCLUDE 'generic/multibox.html' - name = 'globalproject_id', - DATA = ALL_PROJECTS, - id_key = 'id', - label_key = 'projectnumber', - show_empty = 1, - onChange = "document.getElementById('update_button').click();" -%] -
-
-