clinic/netforce_clinic/layouts/clinic_je_form.xml

72 lines
2.7 KiB
XML
Raw Normal View History

2014-10-03 06:09:10 +00:00
<form model="clinic.je">
<head>
<field name="state"/>
</head>
<group span="6" columns="1">
<field name="number"/>
<field name="name"/>
2014-10-03 08:24:53 +00:00
<field name="type" required="1"/>
2014-10-03 06:09:10 +00:00
</group>
<group span="6" columns="1">
<field name="date_import"/>
<field name="file"/>
<field name="payment_id" readonly="1"/>
</group>
<tabs>
<tab string="File Information">
<group span="6" columns="1">
<separator string="Sheets"/>
<field name="sheets" count="5" nolabel="1">
<list>
<field name="name"/>
2014-10-03 08:24:53 +00:00
<field name="select" onchange="onchange_sheet"/>
<!--<field name="process_type"/>-->
2014-10-03 06:09:10 +00:00
</list>
</field>
</group>
<group span="6" columns="1">
<separator string="Options"/>
2014-10-03 08:24:53 +00:00
<group span="3" columns="1">
<button string="Load Sheet" type="primary" icon="download" method="load_sheet"/>
<newline/>
<button string="Load DATA" type="warning" icon="download" method="load_data"/>
<newline/>
2014-10-03 11:08:10 +00:00
<button offset="10" string="Find Invoice" type="success" icon="search" method="find_invoice"/>
<newline/>
<button offset="10" string="Make Payment" type="primary" icon="arrow-right" method="make_payment"/>
<newline/>
<button string="Post" type="success" icon="arrow-right" method="post_payment"/>
<newline/>
<button string="Clear DATA" type="default" icon="remove" method="clear_data"/>
2014-10-03 08:24:53 +00:00
</group>
<group span="3" columns="1">
<field name="description" width="300" height="250" nolabel="1"/>
</group>
2014-10-03 06:09:10 +00:00
</group>
</tab>
2014-10-03 08:24:53 +00:00
<tab string="Priview">
<field name="input_data" count="10" nolabel="1">
<list>
2014-10-03 11:08:10 +00:00
<field name="doc_date"/>
<field name="name"/>
<field name="hn"/>
<field name="amount"/>
2014-10-03 08:24:53 +00:00
</list>
</field>
</tab>
2014-10-03 06:09:10 +00:00
<tab string="Invoices">
<field name="lines" count="10" nolabel="1">
<list>
<field name="invoice_id"/>
<field name="amount"/>
</list>
</field>
</tab>
2014-10-03 08:24:53 +00:00
<tab string="History">
<separator string="TODO"/>
</tab>
2014-10-03 06:09:10 +00:00
</tabs>
<foot>
</foot>
</form>