{{extend 'nwc/layout.html'}} {{=form.custom.begin}}
{{is_mobile=request.user_agent().is_mobile}}
{{if response.transtype_name=='worksheet':}} {{pass}} {{if response.transtype_name=='rent':}} {{pass}}
{{=response.state_ico}}
{{=form.custom.label.transnumber}}{{=response.transnumber_post}}
{{=form.custom.widget.transnumber}}
{{=form.custom.label.ref_transnumber}}
{{=response.trans_transnumber}}{{=response.ref_transnumber}}{{=response.trans_id}}{{=response.direction_id}}{{=response.cruser_id}} {{=response.transtype}} {{=response.transref_change}}
{{=form.custom.label.crdate}}
{{=form.custom.widget.crdate}}{{=response.crdate}}
{{=form.custom.label.transdate}}
{{=form.custom.widget.transdate}}
{{=form.custom.label.duedate}}
{{=form.custom.widget.duedate}}
{{=response.cmd_next}}
{{=response.cmd_prev}}
{{if response.transtype_name!="receipt":}} {{else:}} {{pass}}
{{=form.custom.label.customer_id}}
{{=response.customer_control}}{{=response.customer_id}}
{{=response.trans_wsdistance_label}}
{{=response.trans_wsdistance_data}}
{{=response.trans_wsrepair_label}}
{{=response.trans_wsrepair_data}}
{{=response.trans_wstotal_label}}
{{=response.trans_wstotal_data}}
{{=response.trans_wsnote_label}}
{{=response.trans_wsnote_data}}
{{=response.trans_reholiday_label}}
{{=response.trans_reholiday_data}}
{{=response.trans_rebadtool_label}}
{{=response.trans_rebadtool_data}}
{{=response.trans_reother_label}}
{{=response.trans_reother_data}}
{{=response.trans_rentnote_label}}
{{=response.trans_rentnote_data}}
{{=form.custom.label.curr}}
{{if response.cmd_curr:}} {{pass}}
{{=form.custom.widget.curr}} {{=response.cmd_curr}}
{{=form.custom.label.acrate}}
{{=form.custom.widget.acrate}}
{{=form.custom.label.paidtype}}
{{if response.cmd_curr:}} {{pass}}
{{=form.custom.widget.paidtype}} {{=response.cmd_paidtype}}
{{=form.custom.label.paid}}
{{=form.custom.widget.paid}}
{{=form.custom.label.department}}
{{if response.cmd_department:}} {{pass}}
{{=form.custom.widget.department}} {{=response.cmd_department}}
{{=form.custom.label.employee_id}}
{{=response.employee_control}} {{=response.employee_id}}
{{=form.custom.label.project_id}}
{{=response.project_control}} {{=response.project_id}}
{{=form.custom.label.notes}}
{{=form.custom.label.intnotes}}
{{=form.custom.label.transtate}}
{{=form.custom.widget.transtate}}
{{=form.custom.widget.notes}} {{=form.custom.widget.intnotes}}
{{=form.custom.end}} {{if form.formname!='trans/create':}}
{{=T('Netamount')}}
{{=response.netamount}}
{{=T('VAT')}}
{{=response.vatamount}}
{{=T('Amount')}}
{{=response.amount}}
{{=response.item_form.custom.begin}}
{{=T('ITEM')}} {{=response.transnumber}} {{=response.cmd_item_update}} {{=response.cmd_item_help}} {{=response.cmd_item_cancel}}
000000{{=response.item_id}}{{=response.item_trans_id}}
{{=response.item_form.custom.label.product_id}}
{{=response.item_product_control}}{{=response.item_product_id}}{{=response.item_rate}}{{=response.item_vatamount}}{{=response.item_digit}}
{{if response.item_deposit==None:}} {{else:}} {{pass}}
{{=response.item_form.custom.label.description}}
{{=response.item_form.custom.label.deposit}}
{{=response.item_form.custom.widget.deposit}}
{{=response.item_form.custom.label.description}}
{{=response.item_form.custom.widget.description}}
{{=response.item_form.custom.label.qty}}
{{=response.item_form.custom.widget.qty}}
{{=response.item_form.custom.label.discount}}
{{=response.item_form.custom.widget.discount}}
{{=response.item_form.custom.label.fxprice}}
{{=response.item_form.custom.widget.fxprice}}
{{=response.item_form.custom.label.unit}}
{{=response.item_form.custom.widget.unit}}
{{=response.item_form.custom.label.netamount}}
{{=response.item_form.custom.widget.netamount}}
{{=response.item_form.custom.label.tax_id}}
{{=response.item_form.custom.widget.tax_id}}
{{=response.item_form.custom.label.amount}}
{{=response.item_form.custom.widget.amount}}
{{=response.item_form.custom.label.ownstock}}
{{=response.item_form.custom.widget.ownstock}}
{{=response.item_form.custom.end}}
{{=response.view_item}}
{{if response.cmd_fields:}} {{pass}}
{{=response.cmd_fields}} {{if response.cmb_fields:}}
{{=T('Additional Data')}}
{{else:}}
{{pass}}
{{=response.cmb_fields}}
{{=response.cmd_groups_add}} {{=response.cmd_groups}} {{=T('Transaction Groups')}}
{{=response.fieldvalue_form.custom.begin}}
{{=T('FIELD')}} {{=response.transnumber}} {{=response.cmd_fieldvalue_update}} {{=response.cmd_help}} {{=response.cmd_fieldvalue_cancel}}
{{=response.fieldvalue_customer_selector}} {{=response.fieldvalue_tool_selector}} {{=response.fieldvalue_product_selector}} {{=response.fieldvalue_transitem_selector}} {{=response.fieldvalue_transpayment_selector}} {{=response.fieldvalue_transmovement_selector}} {{=response.fieldvalue_project_selector}} {{=response.fieldvalue_employee_selector}} {{=response.fieldvalue_place_selector}}
{{=response.fieldvalue_form.custom.label.notes}}
{{=response.fieldvalue_form.custom.widget.notes}}
{{=response.fieldvalue_id}} {{=response.fieldvalue_ref_id}} {{=response.fieldvalue_fieldname}} {{=response.fieldvalue_fieldtype}} {{=response.fieldvalue_readonly}} {{=response.fieldvalue_form.custom.end}}
{{=response.view_fields}}
{{=response.cmb_groups}}
{{=response.view_trans_groups}}
{{if response.transtype_name=='invoice' and not response.payment_disabled:}}
{{=response.view_payment}}
{{pass}} {{if response.transtype_name in('order','worksheet','rent') and not response.invoice_disabled:}}
{{=response.view_invoice}}
{{pass}} {{if response.transtype_name in('order','worksheet','rent') and not response.inventory_disabled:}}
{{=response.view_inventory}}
{{pass}} {{if response.transtype_name in('order','worksheet','rent','invoice') and not response.movement_disabled:}}
{{=response.view_too}}
{{pass}}
{{pass}}