70 lines
2.7 KiB
XML
70 lines
2.7 KiB
XML
<form model="clinic.je">
|
|
<head>
|
|
<field name="state"/>
|
|
</head>
|
|
<group span="6" columns="1">
|
|
<field name="number"/>
|
|
<field name="name"/>
|
|
<field name="type" onchange="onchange_type" required="1"/>
|
|
</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"/>
|
|
<field name="select" onchange="onchange_sheet"/>
|
|
</list>
|
|
</field>
|
|
</group>
|
|
<group span="6" columns="1">
|
|
<separator string="Options"/>
|
|
<group span="3" columns="1">
|
|
<button string="Load Sheet" type="primary" icon="download" method="load_sheet"/>
|
|
<newline/>
|
|
<button string="Load Payment" type="warning" icon="download" method="load_payment"/>
|
|
<newline/>
|
|
<button offset="10" string="Match 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="Undo" type="danger" icon="circle" method="undo"/>
|
|
<newline/>
|
|
<button string="Clear" type="default" icon="remove" method="clear"/>
|
|
</group>
|
|
<group span="3" columns="1">
|
|
<field name="description" width="300" height="250" nolabel="1"/>
|
|
</group>
|
|
</group>
|
|
</tab>
|
|
<tab string="Payments">
|
|
<field name="payment_lines" count="10" nolabel="1">
|
|
<list>
|
|
<field name="doc_date"/>
|
|
<field name="name"/>
|
|
<field name="hn"/>
|
|
<field name="amount"/>
|
|
</list>
|
|
</field>
|
|
</tab>
|
|
<tab string="Invoices">
|
|
<field name="invoice_lines" count="10" nolabel="1">
|
|
<list>
|
|
<field name="invoice_id"/>
|
|
<field name="amount"/>
|
|
</list>
|
|
</field>
|
|
</tab>
|
|
</tabs>
|
|
<foot>
|
|
</foot>
|
|
</form>
|