Revision 4425d550
Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt
templates/design40_webpages/order/tabs/_price_sources_dialog.html | ||
---|---|---|
[% IF (FORM.type == "sales_order" || FORM.type == "sales_order_intake" || FORM.type == "sales_quotation") %]
|
||
[% SET price_editable = AUTH.assert('sales_edit_prices', 1) %]
|
||
[% END %]
|
||
[% IF (FORM.type == "purchase_order" || FORM.type == "request_quotation" || FORM.type == "purchase_quotation_intake") %]
|
||
[% IF (FORM.type == "purchase_order" || FORM.type == "purchase_order_confirmation" || FORM.type == "request_quotation" || FORM.type == "purchase_quotation_intake") %]
|
||
[% SET price_editable = AUTH.assert('purchase_edit_prices', 1) %]
|
||
[% END %]
|
||
[% SET exfactor = price_source.record.exchangerate ? 1 / price_source.record.exchangerate : 1 %]
|
templates/design40_webpages/order/tabs/_row.html | ||
---|---|---|
[% L.hidden_tag("order.orderitems[].longdescription", ITEM.longdescription) %]
|
||
[% L.button_tag("kivi.Order.show_longdescription_dialog(this)", LxERP.t8("L"), class="wi-tiny neutral") %]
|
||
</td>
|
||
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order") %]
|
||
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") %]
|
||
<td>
|
||
[%- L.div_tag(LxERP.format_amount(ITEM.shipped_qty, 2, 0) _ ' ' _ ITEM.unit, name="shipped_qty", class="numeric") %]
|
||
</td>
|
||
... | ... | |
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "sales_quotation") %]
|
||
[% SET RIGHT_TO_EDIT_PRICES = AUTH.assert('sales_edit_prices', 1) %]
|
||
[% END %]
|
||
[% IF (SELF.type == "purchase_order" || SELF.type == "request_quotation" || SELF.type == "purchase_quotation_intake") %]
|
||
[% IF (SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation" || SELF.type == "request_quotation" || SELF.type == "purchase_quotation_intake") %]
|
||
[% SET RIGHT_TO_EDIT_PRICES = AUTH.assert('purchase_edit_prices', 1) %]
|
||
[% END %]
|
||
<td>
|
templates/design40_webpages/order/tabs/_second_row.html | ||
---|---|---|
<table>
|
||
<tr>
|
||
<td>
|
||
[% IF (TYPE == "sales_order_intake" || TYPE == "sales_order" || TYPE == "purchase_order") %]
|
||
[% IF (TYPE == "sales_order_intake" || TYPE == "sales_order" || TYPE == "purchase_order" || TYPE == "purchase_order_confirmation") %]
|
||
<b>[% 'Serial No.' | $T8 %]</b> [% L.input_tag("order.orderitems[].serialnumber", ITEM.serialnumber, size = 15, "data-validate"="trimmed_whitespaces") %]
|
||
[% END %]
|
||
<b>[% 'Project' | $T8 %]</b> [% P.project.picker("order.orderitems[].project_id", ITEM.project_id, size = 15) %]
|
||
[% IF (TYPE == "sales_order_intake" || TYPE == "sales_order" || TYPE == "purchase_order") %]
|
||
[% IF (TYPE == "sales_order_intake" || TYPE == "sales_order" || TYPE == "purchase_order" || TYPE == "purchase_order_confirmation") %]
|
||
<b>[% 'Reqdate' | $T8 %]</b> [% L.date_tag("order.orderitems[].reqdate_as_date", ITEM.reqdate_as_date) %]
|
||
[% END %]
|
||
<b>[% 'Subtotal' | $T8 %]</b> [% L.yes_no_tag("order.orderitems[].subtotal", ITEM.subtotal) %]
|
templates/design40_webpages/order/tabs/basic_data.html | ||
---|---|---|
title_key='safe_name') %]</td>
|
||
</tr>
|
||
[% END %]
|
||
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order") %]
|
||
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") %]
|
||
<tr>
|
||
<th>[% 'Order Number' | $T8 %]</th>
|
||
<td>
|
||
... | ... | |
<tr>
|
||
<th>[% quo_nr_txt | $T8 %]</th>
|
||
<td>
|
||
[%- IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order") -%]
|
||
[%- IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") -%]
|
||
[% L.input_tag('order.quonumber', SELF.order.quonumber, class='wi-normal') %]
|
||
[%- ELSIF INSTANCE_CONF.get_sales_purchase_record_numbers_changeable %]
|
||
[% L.input_tag('order.quonumber', SELF.order.quonumber, onchange='kivi.Order.set_number_in_title(this)', class='wi-normal') %]
|
||
... | ... | |
[%- END %]
|
||
</td>
|
||
</tr>
|
||
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order") %]
|
||
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") %]
|
||
<tr>
|
||
<th>[% 'Customer Order Number' | $T8 %]</th>
|
||
<td>[% L.input_tag('order.cusordnumber', SELF.order.cusordnumber, class='wi-normal') %]</td>
|
||
</tr>
|
||
[% END %]
|
||
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order") %]
|
||
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") %]
|
||
[% SET transdate_txt = 'Order Date' %]
|
||
[% ELSIF (SELF.type == "sales_quotation" || SELF.type == "purchase_quotation_intake") %]
|
||
[% SET transdate_txt = 'Quotation Date' %]
|
||
... | ... | |
<th>[% 'Tax point' | $T8 %]</th>
|
||
<td>[% L.date_tag('order.tax_point_as_date', SELF.order.tax_point_as_date, class='wi-date recalc') %]</td>
|
||
</tr>
|
||
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order") %]
|
||
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") %]
|
||
[% SET reqdate_txt = 'Reqdate'; SET reqdate_class = 'recalc' %]
|
||
[% ELSIF SELF.type == "sales_quotation" %]
|
||
[% SET reqdate_txt = 'Valid until'; SET reqdate_class = '' %]
|
||
... | ... | |
[%- END -%]
|
||
<th id="partclass_header_id">[% 'Type' | $T8 %]</th>
|
||
<th id="description_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("description")'>[% 'Description' | $T8 %]</a></th>
|
||
[%- IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order") -%]
|
||
[%- IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") -%]
|
||
<th id="shipped_qty_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("shipped_qty")'>[% 'Delivered' | $T8 %]</a></th>
|
||
[%- END -%]
|
||
<th id="qty_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("qty")'> [% 'Qty' | $T8 %]</a></th>
|
Auch abrufbar als: Unified diff
Lieferantenauftragsbestätigung: design40: Maske