[% PROCESS "report_base.html"; PROCESS "elements.html" %]
[% text('Search Goods and Services') %]
[% PROCESS date_row %]
[% text('Type') %] [% old_label_pos = label_pos; label_pos = -1; PROCESS input element_data = { name = "parttype" type = 'radio' checked = 'CHECKED' value = '' label = text('All') }; PROCESS input element_data = { name = "parttype" type = 'radio' value = 'parts' label = text('Parts') #' }; PROCESS input element_data = { name = "parttype" type = 'radio' value = 'services' label = text('Services') }; PROCESS input element_data = { name = "parttype" type = 'radio' value = 'overhead' label = text('Overhead') }; PROCESS input element_data = { name = "parttype" type = 'radio' value = 'assemblies' label = text('Assemblies') }; label_pos = old_label_pos; %]
[% PROCESS input element_data = { name = 'partnumber' class = 'control_code' type = 'text' value = partnumber size = 16 } %]
[% PROCESS input element_data = { name = 'description' class = 'description' type = 'text' value = description size = 32 } %]
[% partsgroups.unshift({}); PROCESS select element_data = { name = 'partsgroup_id' class = 'partsgroup' options = partsgroups default_values = [partsgroup_id] text_attr = 'partsgroup' value_attr = 'id' } %] [% PROCESS input element_data = { name = 'serialnumber' class = 'control_code' type = 'text' value = serialnumber size = 16 } %]
[% PROCESS input element_data = { name = 'make' class = 'control_code' type = 'text' value = make size = 16 } %] [% PROCESS input element_data = { name = 'model' class = 'control_code' type = 'text' value = model size = 16 } %]
[% PROCESS input element_data = { name = 'drawing' class = 'control_code' type = 'text' value = make size = 16 } %] [% PROCESS input element_data = { name = 'microfiche' class = 'control_code' type = 'text' value = model size = 16 } %]
  [% old_label_pos = label_pos; label_pos = -1; PROCESS input element_data = { name = "status" id = 'status-active' type = 'radio' checked = 'CHECKED' value = 'active' label = text('Active') }; PROCESS input element_data = { name = "status" id = 'status-onhand' type = 'radio' value = 'onhand' label = text('On Hand') #' }; PROCESS input element_data = { name = "status" id = 'status-short' type = 'radio' value = 'short' label = text('Short') }; PROCESS input element_data = { name = "status" id = 'status-obsolete' type = 'radio' value = 'obsolete' label = text('Obsolete') }; PROCESS input element_data = { name = "status" id = 'status-unused' type = 'radio' value = 'unused' label = text('Unused') }; label_pos = old_label_pos; %]
 
  [% text('Items Found In') %]
  [% label_pos = 1; PROCESS input element_data = { type = "checkbox" name = "inc_is" value = 1 label = text('AR Invoices') #' } %] [% PROCESS input element_data = { type = "checkbox" name = "inc_so" value = 1 label = text('Sales Orders') #' } %] [% PROCESS input element_data = { type = "checkbox" name = "inc_quo" value = 1 label = text('Quotations') } %]
[% PROCESS input element_data = { type = "checkbox" name = "inc_ir" value = 1 label = text('AP Invoices') #' } %] [% PROCESS input element_data = { type = "checkbox" name = "inc_po" value = 1 label = text('Purchase Orders') #' } %] [% PROCESS input element_data = { type = "checkbox" name = "inc_rfq" value = 1 label = text('RFQs') } %]
 
  [% text('Include in Report') %]
[% PROCESS input element_data = { name = 'col_running_number' type = 'checkbox' value = '1' label = text('No.') } %] [% PROCESS input element_data = { name = 'col_partnumber' type = 'checkbox' value = '1' checked = 'CHECKED' label = text('Part Number') #' } %] [% PROCESS input element_data = { name = 'col_description' type = 'checkbox' value = '1' checked = 'CHECKED' label = text('Description') } %] [% PROCESS input element_data = { name = 'col_onhand' type = 'checkbox' value = '1' checked = 'CHECKED' label = text('On hand') } %] [% PROCESS input element_data = { name = 'col_unit' type = 'checkbox' value = '1' checked = 'CHECKED' label = text('Unit') } %]
[% PROCESS input element_data = { name = 'col_priceupdate' type = 'checkbox' value = '1' label = text('Price Updated') #' } %] [% PROCESS input element_data = { name = 'col_partsgroup' type = 'checkbox' value = '1' label = text('Part Group') #' } %] [% PROCESS input element_data = { name = 'col_listprice' type = 'checkbox' value = '1' label = text('List Price') #' } %] [% PROCESS input element_data = { name = 'col_sellprice' type = 'checkbox' value = '1' checked = 'CHECKED' label = text('Sell Price') #' } %] [% PROCESS input element_data = { name = 'col_lastcost' type = 'checkbox' value = '1' checked = 'CHECKED' label = text('Last Cost') #' } %]
[% PROCESS input element_data = { name = 'col_avgcost' type = 'checkbox' value = '1' label = text('Average Cost') #' } %] [% PROCESS input element_data = { name = 'col_linetotal' type = 'checkbox' value = '1' label = text('Line Total') #' } %] [% PROCESS input element_data = { name = 'col_markup' type = 'checkbox' value = '1' label = text('Markup') } %] [% PROCESS input element_data = { name = 'col_bin' type = 'checkbox' value = '1' label = text('Bin') } %] [% PROCESS input element_data = { name = 'col_rop' type = 'checkbox' value = '1' label = text('ROP') } %]
[% PROCESS input element_data = { name = 'col_weight' type = 'checkbox' value = '1' label = text('Weight') } %] [% PROCESS input element_data = { name = 'col_notes' type = 'checkbox' value = '1' label = text('Notes') } %] [% PROCESS input element_data = { name = 'col_image' type = 'checkbox' value = '1' label = text('Image') } %] [% PROCESS input element_data = { name = 'col_drawing' type = 'checkbox' value = '1' label = text('Drawing') } %] [% PROCESS input element_data = { name = 'col_microfiche' type = 'checkbox' value = '1' label = text('Microfiche') } %]
[% PROCESS input element_data = { name = 'col_make' type = 'checkbox' value = '1' label = text('Make') } %] [% PROCESS input element_data = { name = 'col_model' type = 'checkbox' value = '1' label = text('Model') } %] [% PROCESS input element_data = { name = 'col_warehouse' type = 'checkbox' value = '1' label = text('Warehouse') } %] [% PROCESS input element_data = { name = 'col_curr' type = 'checkbox' value = '1' label = text('Currency') } %] [% PROCESS input element_data = { name = 'col_serialnumber' type = 'checkbox' value = '1' label = text('Serial Number') #' } %]
[% PROCESS input element_data = { name = 'subtotal' type = 'checkbox' value = '1' label = text('subtotal') } %]
[% PROCESS button element_data = { name = 'action' class = 'submit' type = 'submit' value = 'search' text = text('Search') } %]