{{extend 'nmc/layout.html'}} {{block header}} {{=response.cmd_menu}} {{if form.formname!='customer/create':}}

{{=response.subtitle}}

{{=response.custnumber}}

{{else:}}

{{=response.subtitle}}

{{pass}} {{=response.cmd_commands}} {{end}} {{=response.active_page}}
{{=form.custom.begin}} {{if not response.home:}} {{pass}} {{if not response.home:}} {{pass}}
{{=form.custom.label.custnumber}}
{{=form.custom.widget.custnumber}}
{{=form.custom.label.custtype}}
{{=form.custom.widget.custtype}}
{{=form.custom.label.custname}}
{{=form.custom.widget.custname}}
{{=form.custom.label.taxnumber}}
{{=form.custom.widget.taxnumber}}
{{=form.custom.label.account}}
{{=form.custom.widget.account}}
{{=form.custom.label.terms}}
{{=form.custom.widget.terms}}
{{=form.custom.label.creditlimit}}
{{=form.custom.widget.creditlimit}}
{{=form.custom.label.discount}}
{{=form.custom.widget.discount}}
{{=form.custom.label.notes}}
{{=form.custom.widget.notes}}
{{=form.custom.end}}
{{if form.formname!='customer/create':}} {{pass}}
{{=response.cmd_back}} {{=response.cmd_close}}

{{=form.custom.submit}} {{if form.formname!='customer/create':}} {{=response.cmd_delete}} {{=response.cmd_report}} {{pass}}
{{if form.formname!='customer/create':}} {{pass}}
{{=response.menu_customer}} {{=response.menu_groups}} {{=response.menu_fields}} {{=response.menu_address}} {{=response.menu_contact}} {{if not response.event_disabled:}} {{=response.menu_event}} {{pass}}