[% IF conf_vertreter %]
[% 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',
-%]
|
[%- IF id %]
[% 'Representative' | $T8 %] |
[%- HTML.escape(salesman) %]
|
[%- END %]
[%- 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,
-%]
|
[%- END %]
[%- IF is_customer %]
[% 'Customer Number' | $T8 %] |
|
[%- ELSE %]
[% 'Vendor Number' | $T8 %] |
|
[%- END %]
[% '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 %]
|
|
[% 'Username' | $T8 %] |
|
[% 'Password' | $T8 %] |
|
[% '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 %] |
|
[%- IF is_customer %]
[% 'our vendor number at customer' | $T8 %] |
|
[%- ELSE %]
[% 'Customer Number' | $T8 %] |
|
[%- END %]
[% 'Account Number' | $T8 %] |
|
[% 'Bank Code Number' | $T8 %] |
|
[% 'Bank' | $T8 %] |
|
[% 'IBAN' | $T8 %] |
|
[% 'BIC' | $T8 %] |
|
[%- IF ALL_CURRENCIES.size %]
[% 'Currency' | $T8 %] |
[% L.select_tag('currency', ALL_CURRENCIES, default = currency, with_empty = 1) %] |
[%- END %]
[% UNLESS conf_vertreter %]
[% 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',
-%]
|
[%- END %]
[% 'Language' | $T8 %] |
[%- INCLUDE generic/multibox.html
name = 'language_id',
default = default_language_id,
DATA = languages,
show_empty = 1,
id_key = 'id',
label_key = 'description',
-%]
|
[%- IF is_customer %]
[% 'Preisklasse' | $T8 %] |
[%- INCLUDE generic/multibox.html
name = 'klass',
DATA = all_pricegroup,
show_empty = 1,
id_key = 'id',
label_key = 'pricegroup',
-%]
|
[%- END %]
[% 'Obsolete' | $T8 %] |
|
[% 'direct debit' | $T8 %] |
|
[% 'Steuersatz' | $T8 %] |
[%- INCLUDE generic/multibox.html
name = 'taxzone_id',
id = 'taxzone_id',
DATA = ALL_TAXZONES,
show_empty = 0,
id_key = 'id',
label_key = 'description',
-%]
|
[%- IF is_customer && !conf_vertreter %]
[% 'Salesman' | $T8 %] |
[% L.select_tag('salesman_id', ALL_SALESMEN, default = salesman_id, with_empty = 1, title_key = 'safe_name') %] |
[%- END %]
[% 'taxincluded checked' | $T8 %] |
[% L.select_tag('taxincluded_checked', [[undef, LxERP.t8('use user config')], ['1', LxERP.t8('Yes')], ['0', LxERP.t8('No')]], default = taxincluded_checked) %] |
[% 'Internal Notes' | $T8 %] |
|
[% INCLUDE 'ct/_shipto.html' %]
[% INCLUDE 'ct/_contact.html' %]
[% 'Shipping Address' | $T8 %] |
[% L.select_tag('delivery_id', SHIPTO_ALL, title_sub = \shipto_label, with_empty = 1,
onchange = "\$('#delivery').load('ct.pl?action=get_delivery&id=' + \$('#cvid').attr('value') + '&db=' + \$('#db').attr('value') + '&shipto_id=' + this.value)") %]
|
[% 'From' | $T8 %] |
[% L.date_tag('from',
from,
onchange => "\$('#delivery').load('ct.pl?action=get_delivery&shipto_id='+ \$('#delivery_id').val() +'&from='+ \$('#from').val() +'&to='+ \$('#to').val() +'&id='+ \$('#cvid').val() +'&db='+ \$('#db').val())")
%]
|
[% 'To (time)' | $T8 %] |
[% L.date_tag('to',
to,
onchange => "\$('#delivery').load('ct.pl?action=get_delivery&shipto_id='+ \$('#delivery_id').val() +'&from='+ \$('#from').val() +'&to='+ \$('#to').val() +'&id='+ \$('#cvid').val() +'&db='+ \$('#db').val())")
%]
|
|
[%- IF NOTES && NOTES.size %]
[%- END %]
[% IF NOTE_id %][% 'Edit note' | $T8 %][% ELSE %][% 'Add note' | $T8 %][% END %]
[%- IF CUSTOM_VARIABLES.CT.size %]
[%- FOREACH var = CUSTOM_VARIABLES.CT %]
[% HTML.escape(var.description) %] |
[% var.HTML_CODE %] |
[%- END %]
[%- END %]