+
+ [% 'Part Type' | $T8 %]
+
+
[% 'Part Number' | $T8 %]
-
+ [% L.input_tag("partnumber", "", style=style) %]
[% 'EAN' | $T8 %]
-
+ [% L.input_tag("ean", "", style=style) %]
+
+
+ [% 'Part Classification' | $T8 %]:
+ [% P.part.select_classification('classification_id', style=style) %]
-
[% 'Part Description' | $T8 %]
-
+ [% L.input_tag("description", "", style=style, class="initial_focus") %]
-
- [% 'Group' | $T8 %]
-
- [%- INCLUDE generic/multibox.html
- name = 'partsgroup',
- select_name = 'partsgroup_id',
- DATA = ALL_PARTSGROUPS,
- show_empty = 1,
- id_key = 'id',
- label_key = 'partsgroup',
- style = 'width:250px',
- limit = limit,
- allow_textbox = 1
- -%]
-
- [% 'Serial Number' | $T8 %]
+ [% 'Partsgroup' | $T8 %]
+ [% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, with_empty=1, default=partsgroup, title_key="partsgroup", style=style) %]
+ [% 'Serial Number' | $T8 %]
+ [% L.input_tag("serialnumber", "", style=style) %]
- [%- UNLESS is_service %]
- [% 'Make' | $T8 %]
- [% 'Model' | $T8 %]
+ [% 'Make' | $T8 %]
+ [% L.input_tag("make", "", style=style) %]
+ [% 'Model' | $T8 %]
+ [% L.input_tag("model", "", style=style) %]
- [%- END %]
[% 'Drawing' | $T8 %]
-
+ [% L.input_tag("drawing", "", style=style) %]
[% 'Microfiche' | $T8 %]
-
+ [% L.input_tag("microfiche", "", style=style) %]
+
+
+
+ [% 'Shop article' | $T8 %]
+ [% L.yes_no_tag('shop', shop, default='', with_empty=1, empty_title='---', style=style) %]
+
+
+
+ [% 'Insert Date' | $T8 %]
+
+ [% L.date_tag('insertdatefrom') %]
+ [% 'Bis' | $T8 %]
+ [% L.date_tag('insertdateto') %]
+
[% CUSTOM_VARIABLES_FILTER_CODE %]
- [%- IF is_assembly %]
- [% 'Top Level' | $T8 %]
- [% 'Individual Items' | $T8 %]
+ [% L.radio_button_tag('bom', id='bom_0', value=0, checked=1, label=LxERP.t8('Top Level Designation only')) %]
+ [% L.radio_button_tag('bom', id='bom_1', value=1, label=LxERP.t8('Individual Items')) %]
- [%- END %]
-
- [% 'Active' | $T8 %]
-
- [% 'On Hand' | $T8 %]
-
- [% 'Short' | $T8 %]
-
- [% 'Obsolete' | $T8 %]
-
- [% 'Orphaned' | $T8 %]
-
- [% 'All' | $T8 %]
+ [%- L.radio_button_tag('itemstatus', value='active', id='itemstatus_active', label=LxERP.t8('Active'), checked=1) %]
+ [%- L.radio_button_tag('itemstatus', value='onhand', id='itemstatus_onhand', label=LxERP.t8('On Hand')) %]
+ [%- L.radio_button_tag('itemstatus', value='short', id='itemstatus_short', label=LxERP.t8('Short')) %]
+ [%- L.radio_button_tag('itemstatus', value='obsolete', id='itemstatus_obsolete', label=LxERP.t8('Obsolete')) %]
+ [%- L.radio_button_tag('itemstatus', value='orphaned', id='itemstatus_orphaned', label=LxERP.t8('Orphaned')) %]
+ [%- L.radio_button_tag('itemstatus', value='', id='itemstatus_all', label=LxERP.t8('All')) %]
@@ -106,38 +125,26 @@
@@ -148,9 +155,9 @@
[% 'From' | $T8 %]
- [% L.date_tag('transdatefrom') %]
+ [% L.date_tag('transdatefrom') %]
[% 'To (time)' | $T8 %]
- [% L.date_tag('transdateto') %]
+ [% L.date_tag('transdateto') %]
@@ -170,127 +177,59 @@
[% 'Include in Report' | $T8 %]
-
-
- [% 'Part Number' | $T8 %]
-
-
-
- [% 'Part Description' | $T8 %]
-
-
-
- [% 'Serial Number' | $T8 %]
-
-
-
- [% 'Unit of measure' | $T8 %]
-
+ [%- L.checkbox_tag('l_partnumber', label=LxERP.t8('Part Number'), checked=1, value='Y') %]
+ [%- L.checkbox_tag('l_description', label=LxERP.t8('Part Description'), checked=1, value='Y') %]
+ [%- L.checkbox_tag('l_serialnumber', label=LxERP.t8('Serial Number'), value='Y') %]
+ [%- L.checkbox_tag('l_unit', label=LxERP.t8('Unit of measure'), value='Y', checked=1) %]
-
-
- [% 'List Price' | $T8 %]
-
-
-
- [% 'Sell Price' | $T8 %]
-
-
-
- [% 'Last Cost' | $T8 %]
-
-
-
- [% 'Line Total' | $T8 %]
-
+ [%- L.checkbox_tag('l_listprice', label=LxERP.t8('List Price'), value='Y') %]
+ [%- L.checkbox_tag('l_sellprice', label=LxERP.t8('Sell Price'), value='Y', checked=1) %]
+ [%- L.checkbox_tag('l_lastcost', label=LxERP.t8('Last Cost'), value='Y', checked=1) %]
+ [%- L.checkbox_tag('l_linetotal', label=LxERP.t8('Line Total'), value='Y', checked=1) %]
-
-
- [% 'Updated' | $T8 %]
-
-
-
-
-
- [% 'deliverydate' | $T8 %]
-
-
-
- [% 'ROP' | $T8 %]
-
-
-
- [% 'Weight' | $T8 %]
-
+ [%- L.checkbox_tag('l_priceupdate', label=LxERP.t8('Updated'), value='Y') %]
+ [%- L.checkbox_tag('l_deliverydate', label=LxERP.t8('Delivery Date'), value='Y') %]
+ [%- L.checkbox_tag('l_rop', label=LxERP.t8('ROP'), value='Y') %]
+ [%- L.checkbox_tag('l_weight', label=LxERP.t8('Weight'), value='Y') %]
-
-
- [% 'Image' | $T8 %]
-
-
-
- [% 'Drawing' | $T8 %]
-
-
-
- [% 'Microfiche' | $T8 %]
-
-
-
- [% 'Group' | $T8 %]
+ [%- L.checkbox_tag('l_image', label=LxERP.t8('Image'), value='Y', checked=(INSTANCE_CONF.get_parts_listing_image ? 1 : 0)) %]
+ [%- L.checkbox_tag('l_drawing', label=LxERP.t8('Drawing'), value='Y') %]
+ [%- L.checkbox_tag('l_microfiche', label=LxERP.t8('Microfiche'), value='Y') %]
+ [%- L.checkbox_tag('l_partsgroup', label=LxERP.t8('Partsgroup'), value='Y') %]
-
-
- [% 'Transdate' | $T8 %]
-
-
-
- [% 'Subtotal' | $T8 %]
-
-
-
- [% 'Qty in Selected Records' | $T8 %]
-
-
-
- [% 'EAN' | $T8 %]
-
+ [%- L.checkbox_tag('l_insertdate', label=LxERP.t8('Insert Date'), value='Y') %]
+ [%- L.checkbox_tag('l_notes', label=LxERP.t8('Notes'), value='Y') %]
+ [%- L.checkbox_tag('l_ean', label=LxERP.t8('EAN'), value='Y') %]
+ [%- L.checkbox_tag('l_shop', label=LxERP.t8('Shop article'), value='Y') %]
-
-
- [% 'Stocked Qty' | $T8 %]
-
-
-
- [% 'Project Number' | $T8 %]
-
-
-
- [% 'Project Description' | $T8 %]
-
-
-
- [% 'Pricegroups' | $T8 %]
-
+ [%- L.checkbox_tag('l_onhand', label=LxERP.t8('Stocked Qty'), value='Y') %]
+ [%- L.checkbox_tag('l_projectnumber', label=LxERP.t8('Project Number'), value='Y') %]
+ [%- L.checkbox_tag('l_projectdescription', label=LxERP.t8('Project Description'), value='Y') %]
+ [%- L.checkbox_tag('l_pricegroups', label=LxERP.t8('Pricegroups'), value='Y', checked=1) %]
-
-
- [% 'Notes' | $T8 %]
-
+ [%- L.checkbox_tag('l_subtotal', label=LxERP.t8('Subtotal'), value='Y') %]
+ [%- L.checkbox_tag('l_transdate', label=LxERP.t8('Transdate Record'), value='Y') %]
+ [%- L.checkbox_tag('l_name', label=LxERP.t8('Name in Selected Records'), value='Y') %]
+ [%- L.checkbox_tag('l_soldtotal', label=LxERP.t8('Qty in Selected Records'), value='Y') %]
+
+
+ [%- L.checkbox_tag('l_warehouse', label=LxERP.t8('Default Warehouse'), value='Y') %]
+ [%- L.checkbox_tag('l_bin', label=LxERP.t8('Default Bin'), value='Y') %]
+ [%- L.checkbox_tag('l_make', label=LxERP.t8('Make'), value='Y') %]
+ [%- L.checkbox_tag('l_model', label=LxERP.t8('Model'), value='Y') %]
[% CUSTOM_VARIABLES_INCLUSION_CODE %]
@@ -302,12 +241,4 @@
-
-
-
-
-
-
-
-