[%- USE T8 %] [%- USE HTML %] [%- USE LxERP %] [%- USE L %] [%- USE P %] [%- INCLUDE 'generic/set_longdescription.html' %]
[%- SELF.cv == "customer" ? LxERP.t8('Customer') : LxERP.t8('Vendor') -%] | [% SET cv_id = SELF.cv _ '_id' %][% P.customer_vendor.picker("reclamation.${SELF.cv}" _ '_id', SELF.reclamation.$cv_id, type=SELF.cv, class='wi-lightwide') %] [%- L.img_tag(src="image/detail.png", alt=LxERP.t8('Show details'), title= LxERP.t8('Show details'), onclick="kivi.Reclamation.show_cv_details_dialog();", class="button-image info") %] [% P.link_tag("javascript:void(0);", LxERP.t8('Edit'), title=LxERP.t8('Open in new window'), onclick="kivi.Reclamation.open_customervendor_tab('#reclamation_${SELF.cv}_id', '${SELF.cv}')") %] |
---|---|
[% 'Contact Person' | $T8 %] | [% L.select_tag('reclamation.contact_id', SELF.reclamation.${SELF.cv}.contacts, default=SELF.reclamation.contact_id, title_key='full_name_dep', value_key='cp_id', with_empty=1, class='wi-lightwide') %] |
[% 'Shipping Address' | $T8 %] | [% L.button_tag("kivi.Reclamation.edit_custom_shipto()", LxERP.t8("Custom shipto"), class='button neutral below wi-lightwide') %] |
[% 'Tax rate' | $T8 %] | [% L.select_tag('reclamation.taxzone_id', SELF.all_taxzones, default=SELF.reclamation.taxzone_id, title_key='description', class='recalc wi-lightwide') %] |
[% 'Currency' | $T8 %] | [% L.select_tag('reclamation.currency_id', SELF.all_currencies, default=currency_id, value_key='id', title_key='name') %] |
[% 'Exchangerate' | $T8 %] | 1 [% SELF.reclamation.currency.name %] = [% L.input_tag('reclamation.exchangerate_as_null_number', SELF.reclamation.exchangerate_as_null_number, size="15", class="reformat_number_as_null_number numeric") %] [% INSTANCE_CONF.default_currency %] [% L.hidden_tag('old_currency_id', currency_id) %] [% L.hidden_tag('old_exchangerate', SELF.reclamation.exchangerate_as_null_number) %] |
[% 'Language' | $T8 %] | [% L.select_tag('reclamation.language_id', SELF.all_languages, default=SELF.reclamation.language_id, title_key='description', with_empty=1, style='wi-lightwide') %] |
[% 'Department' | $T8 %] | [% L.select_tag('reclamation.department_id', SELF.all_departments, default=SELF.reclamation.department_id, title_key='description', with_empty=1, class='wi-lightwide') %] |
[% 'Shipping Point' | $T8 %] | [% L.input_tag('reclamation.shippingpoint', SELF.reclamation.shippingpoint, class='wi-lightwide') %] |
[% 'Ship via' | $T8 %] | [% L.input_tag('reclamation.shipvia', SELF.reclamation.shipvia, class='wi-lightwide') %] |
[% 'Transaction description' | $T8 %] | [% L.input_tag('reclamation.transaction_description', SELF.reclamation.transaction_description, 'data-validate'=INSTANCE_CONF.get_require_transaction_description_ps ? 'required' : '', class='wi-lightwide') %] |
[% 'Project Number' | $T8 %] | [% P.project.picker('reclamation.globalproject_id', SELF.reclamation.globalproject_id, class='wi-lightwide') %] |
[% 'Payment Terms' | $T8 %] [% L.select_tag('reclamation.payment_id', SELF.all_payment_terms, default = SELF.reclamation.payment_id, with_empty = 1, title_key = 'description', class = 'wi-mediumsmall-lightwide') %] | |
[% 'Delivery Terms' | $T8 %] [% L.select_tag('reclamation.delivery_term_id', SELF.all_delivery_terms, default = SELF.reclamation.delivery_term_id, with_empty = 1, title_key = 'description', class = 'wi-mediumsmall-lightwide') %] | |
[%- IF !SELF.taxes.size %][%- END %] | [%- IF !SELF.taxes.size %][% L.yes_no_tag('reclamation.taxincluded', SELF.reclamation.taxincluded, class='recalc') %][%- END %] |
---|
[% L.textarea_tag('reclamation.notes', SELF.reclamation.notes, wrap="soft", style="width: 350px; height: 150px", class="texteditor wi-wide") %] |
[% 'Internal Notes' | $T8 %] [% L.textarea_tag('reclamation.intnotes', SELF.reclamation.intnotes, wrap="soft", style="height: 150px", class="wi-wide") %] |
[% L.yes_no_tag('reclamation.delivered', SELF.reclamation.delivered, class="wi-normal") %] | |
[% L.yes_no_tag('reclamation.closed', SELF.reclamation.closed, class="wi-normal") %] | |
[% 'Employee' | $T8 %] | [% L.select_tag('reclamation.employee_id', SELF.all_employees, default=(SELF.reclamation.employee_id ? SELF.reclamation.employee_id : SELF.current_employee_id), title_key='safe_name', class='wi-normal', ) %] |
[% 'Salesman' | $T8 %] | [% L.select_tag('reclamation.salesman_id', SELF.all_salesmen, default=(SELF.reclamation.salesman_id ? SELF.reclamation.salesman_id : SELF.current_employee_id), title_key='safe_name', class='wi-normal', ) %] |
[% 'Reclamation Number' | $T8 %] | [% L.input_tag('reclamation.record_number', SELF.reclamation.record_number, onchange='kivi.Reclamation.set_number_in_title(this)', class='wi-normal') %] |
[% 'Customer Record Number' | $T8 %] | [% L.input_tag('reclamation.cv_record_number', SELF.reclamation.cv_record_number, class='wi-normal') %] |
[% 'Reclamation Date' | $T8 %] | [% L.date_tag('reclamation.transdate_as_date', SELF.reclamation.transdate_as_date, class='wi-date') %] |
[% 'Tax point' | $T8 %] | [% L.date_tag('reclamation.tax_point_as_date', SELF.reclamation.tax_point_as_date, class="recalc", class='wi-date') %] |
[% 'Deadline' | $T8 %] | [% L.date_tag('reclamation.reqdate_as_date', SELF.reclamation.reqdate_as_date, class="recalc", class='wi-date') %] |
[% 'Insert Date' | $T8 %] | [% SELF.reclamation.itime_as_date %] |
[%- IF MYCONFIG.show_form_details %] [%- L.img_tag(src="image/collapse.svg", alt=LxERP.t8('Hide all details'), title=LxERP.t8('Hide all details'), id='expand_all', "data-expanded"="1") %] [%- ELSE %] [%- L.img_tag(src="image/expand.svg", alt=LxERP.t8('Show all details'), title=LxERP.t8('Show all details'), id='expand_all') %] [%- END %] | [% L.checkbox_tag("select_all_multi_id", checked=0, alt=LxERP.t8('Select/Deselect all'), title=LxERP.t8('Select/Deselect all'), id='select_all') %] | [% 'position' | $T8 %] | ![]() |
![]() |
[%- IF SELF.show_update_button -%]
[%- L.img_tag(src="image/rotate_cw.svg", alt=LxERP.t8('Update from master data'), title= LxERP.t8('Update from master data'), onclick="if (!confirm('" _ LxERP.t8("Are you sure to update all positions from master data?") _ "')) return false; kivi.Reclamation.update_all_rows_from_master_data();", id='update_from_master', class='expand', ) %] | [%- END %][%- 'Partnumber' | $T8 %] | [%- IF SELF.search_cvpartnumber -%][%- SELF.cv == "customer" ? LxERP.t8('Customer Part Number') : LxERP.t8('Model') %] | [%- END -%][%- 'Type' | $T8 %] | [%- 'Description' | $T8 %] | [%- 'Reason' | $T8 %] | [%- 'Reason Description Extern' | $T8 %] | [%- 'Reason Description Intern' | $T8 %] | [%- 'Qty' | $T8 %] | [%- 'Price Factor' | $T8 %] | [%- 'Unit' | $T8 %] | [%- 'Price Source' | $T8 %] | [%- 'Price' | $T8 %] | [%- 'Discount' | $T8 %] | [%- 'Extended' | $T8 %] |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[%- L.button_tag('kivi.Reclamation.toggle_selected_rows();', "🔄", title=LxERP.t8("Toggle selection"), alt=LxERP.t8("Toggle selection"), ) %] | [%- L.button_tag('kivi.Reclamation.delete_selected_rows();', LxERP.t8("X"), title=LxERP.t8("Delete selected rows"), alt=LxERP.t8("Delete selected rows"), ) %] | [%- IF SELF.show_update_button -%][%- END -%] | [% L.select_tag("reason_id_for_selected", SELF.reclamation.valid_reclamation_reasons, title_key = 'name', value_key = 'id', with_empty=1, class="wi-small", ) %] [%- L.button_tag( 'kivi.Reclamation.set_selected_to_value("reason_id")', "↓", alt=LxERP.t8('Apply to selected rows'), title=LxERP.t8('Apply to selected rows'), ) %] | [% L.areainput_tag("reason_description_ext_for_selected", "", size='40', class="wi-mediumsmall", ) %] [%- L.button_tag( 'kivi.Reclamation.set_selected_to_value("reason_description_ext")', "↓", alt=LxERP.t8('Apply to selected rows'), title=LxERP.t8('Apply to selected rows'), ) %] | [% L.areainput_tag("reason_description_int_for_selected", "", size='40', class="wi-mediumsmall", ) %] [%- L.button_tag( 'kivi.Reclamation.set_selected_to_value("reason_description_int")', "↓", alt=LxERP.t8('Apply to selected rows'), title=LxERP.t8('Apply to selected rows'), ) %] | ||||||||||||||
[%- IF SELF.show_update_button -%] | [%- END -%] | [% IF !SELF.reclamation.taxincluded %][%- 'Subtotal' | $T8 %][% END %] | [% IF !SELF.reclamation.taxincluded %][%- L.div_tag(SELF.reclamation.netamount_as_number, id='netamount_id') %][% END %] | ||||||||||||||||
[%- IF SELF.show_update_button -%] | [%- END -%] | [%- 'Total' | $T8 %] | [%- L.div_tag(SELF.reclamation.amount_as_number, id='amount_id') %] |