[%- USE T8 %] [% USE HTML %][% USE LxERP %]
[% title %]
[% IF conf_vertreter %] [%- IF id %] [%- END %] [%- END %] [%- IF is_customer %] [%- ELSE %] [%- END %]
[% IF is_customer %][% 'Type of Customer' | $T8 %][%- ELSE %][% 'Type of Vendor' | $T8 %][%- END %] [%- INCLUDE generic/multibox.html name = 'business', DATA = all_business, show_empty = 1, id_key = 'id', label_key = 'description', -%]
[% 'Representative' | $T8 %] [%- HTML.escape(salesman) %]
[%- IF !id %] [% 'Representative' | $T8 %] [%- ELSE %] [% 'Change representative to' | $T8 %] [%- END %] [%- INCLUDE generic/multibox.html name = 'new_salesman_id', DATA = ALL_SALESMAN_CUSTOMERS, id_key = 'id', label_key = 'name', show_empty = id, -%]
[% 'Customer Number' | $T8 %] [% 'Vendor Number' | $T8 %]
[% 'Greeting' | $T8 %]   [%- INCLUDE generic/multibox.html name = 'selected_company_greeting', DATA = MB_COMPANY_GREETINGS, show_empty = 1, id_key = 'id', label_key = 'description', -%]
[% IF is_customer %][% 'Customer Name' | $T8 %][%- ELSE %][% 'Vendor Name' | $T8 %][%- END %]
[% 'Department' | $T8 %]
[% 'Street' | $T8 %]
[% 'Zipcode' | $T8 %]/[% 'City' | $T8 %]
[% 'Country' | $T8 %]
[% 'Contact' | $T8 %]
[% 'Phone' | $T8 %]
[% 'Fax' | $T8 %]
[% 'E-mail' | $T8 %]
[% IF homepage %][% 'Homepage' | $T8 %] [% ELSE %][% 'Homepage' | $T8 %] [% END %]
[%- IF is_customer %] [%- ELSE %] [%- END %] [%- IF conf_vertreter %] [%- END %] [% UNLESS conf_vertreter %] [%- END %] [%- IF is_customer %] [%- END %] [%- IF is_customer && !conf_vertreter %] [%- END %]
[% 'Credit Limit' | $T8 %] [% 'Payment Terms' | $T8 %] [%- INCLUDE generic/multibox.html name = 'payment_id', DATA = payment_terms, show_empty = 1, id_key = 'id', label_key = 'description', -%] [% 'Discount' | $T8 %] %
[% 'Tax Number / SSN' | $T8 %] [% 'sales tax identification number' | $T8 %] [% 'our vendor number at customer' | $T8 %] [% 'Customer Number' | $T8 %]
[% 'Account Number' | $T8 %] [% 'Bank Code Number' | $T8 %] [% 'Bank' | $T8 %]
[% 'IBAN' | $T8 %] [% 'BIC' | $T8 %]
[% 'Username' | $T8 %] [% 'Password' | $T8 %]
[% IF is_customer %][% 'Type of Customer' | $T8 %][% ELSE %][% 'Type of Vendor' | $T8 %][%- END %] [%- INCLUDE generic/multibox.html name = 'business', DATA = all_business, show_empty = 1, id_key = 'id', label_key = 'description', -%] [% 'Language' | $T8 %] [%- INCLUDE generic/multibox.html name = 'language_id', DATA = languages, show_empty = 1, id_key = 'id', label_key = 'description', -%] [% 'Preisklasse' | $T8 %] [%- INCLUDE generic/multibox.html name = 'klass', DATA = all_pricegroup, show_empty = 1, id_key = 'id', label_key = 'pricegroup', -%]
[% 'Obsolete' | $T8 %] [% 'direct debit' | $T8 %]
[% 'Steuersatz' | $T8 %] [%- INCLUDE generic/multibox.html name = 'taxzone_id', DATA = ALL_TAXZONES, show_empty = 1, id_key = 'id', label_key = 'description', -%] [% 'Salesman' | $T8 %] [%- INCLUDE generic/multibox.html name = 'salesman_id', DATA = ALL_SALESMEN, show_empty = 1, id_key = 'id', label_sub = 'salesman_label', -%]
[% 'Internal Notes' | $T8 %]

[% 'Shipping Address' | $T8 %] [%- INCLUDE generic/multibox.html name = 'shipto_id', id = 'shipto_id', DATA = SHIPTO, onChange = "get_shipto(['shipto_id__' + this.value], ['shiptoname','shiptodepartment_1', 'shiptodepartment_2','shiptostreet','shiptozipcode','shiptocity','shiptocountry','shiptocontact','shiptophone','shiptofax','shiptoemail',enable_delete_shipto,set_gender])", id_key = 'shipto_id', label_sub = 'shipto_label', label_key = 'shipto_label', -%]
[% 'Company Name' | $T8 %]
[% 'Abteilung' | $T8 %]
[% 'Street' | $T8 %]
[% 'Zipcode' | $T8 %]/[% 'City' | $T8 %]
[% 'Country' | $T8 %]
[% 'Contact' | $T8 %]
[% 'Phone' | $T8 %]
[% 'Fax' | $T8 %]
[% 'E-mail' | $T8 %]
 
 

[% 'Contacts' | $T8 %] [%- INCLUDE generic/multibox.html name = 'cp_id', id = 'cp_id', DATA = CONTACTS, onChange = "on_contact_changed()", id_key = 'cp_id', label_sub = 'contacts_label', -%]
[% 'Gender' | $T8 %]
[% 'Title' | $T8 %]   [%- INCLUDE generic/multibox.html name = 'selected_cp_title', id = 'selected_cp_title', DATA = MB_TITLES, show_empty = 1, id_key = 'id', label_key = 'description', -%]
[% 'Department' | $T8 %]   [%- INCLUDE generic/multibox.html name = 'selected_cp_abteilung', id = 'selected_cp_abteilung', DATA = MB_DEPARTMENT, show_empty = 1, id_key = 'id', label_key = 'description', -%]
[% 'Given Name' | $T8 %]
[% 'Name' | $T8 %]
[% 'Phone1' | $T8 %]
[% 'Phone2' | $T8 %]
[% 'Fax' | $T8 %]
[% 'Mobile1' | $T8 %]
[% 'Mobile2' | $T8 %]
[% 'Sat. Phone' | $T8 %]
[% 'Sat. Fax' | $T8 %]
[% 'Project' | $T8 %]
[% 'E-mail' | $T8 %]
[% 'Private Phone' | $T8 %]
[% 'Private E-mail' | $T8 %]
[% 'Birthday' | $T8 %]

[% 'Bcc' | $T8 %]

[% 'Shipping Address' | $T8 %] [%- INCLUDE generic/multibox.html name = 'delivery_id', id = 'delivery_id', DATA = SHIPTO, onChange = "get_delivery(['shipto_id__' + this.value, 'from__' + from.value, 'to__' + to.value, 'id__' + cvid.value, 'db__' + db.value], ['delivery'])", id_key = 'shipto_id', label_sub = 'shipto_label', -%]
[% 'From' | $T8 %] [% 'To (time)' | $T8 %]

[%- IF NOTES && NOTES.size %]

[%- FOREACH row = NOTES %] [%- END %]
[% 'Delete' | $T8 %] [% 'Subject' | $T8 %] [% 'Created on' | $T8 %] [% 'Created by' | $T8 %] [% 'Follow-Up Date' | $T8 %] [% 'Follow-Up for' | $T8 %] [% 'Follow-Up done' | $T8 %]
[% UNLESS NOTE_id && (NOTE_id == row.id) %][% END %] [% HTML.escape(row.subject) %] [% HTML.escape(row.created_on) %] [% IF row.created_by_name %][% HTML.escape(row.created_by_name) %][% ELSE %][% HTML.escape(row.created_by_login) %][% END %] [% HTML.escape(row.follow_up_date) %] [% IF row.created_for_name %][% HTML.escape(row.created_for_name) %][% ELSE %][% HTML.escape(row.created_for_login) %][% END %] [% IF row.follow_up_date %][% IF row.follow_up_done %][% 'Yes' | $T8 %][% ELSE %][% 'No' | $T8 %][% END %][% END %]

[%- END %]
[% IF NOTE_id %][% 'Edit note' | $T8 %][% ELSE %][% 'Add note' | $T8 %][% END %]

[% 'Subject' | $T8 %]
[% 'Body' | $T8 %]
[% 'Follow-Up On' | $T8 %] [% 'for' | $T8 %]
 


[%- IF CUSTOM_VARIABLES.size %]

[%- FOREACH var = CUSTOM_VARIABLES %] [%- END %]
[% HTML.escape(var.description) %] [% var.HTML_CODE %]


[%- END %]