67 lines
2.3 KiB
XML
67 lines
2.3 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" 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"/>
|
|
<!--<field name="process_type"/>-->
|
|
</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 DATA" type="warning" icon="download" method="load_data"/>
|
|
<newline/>
|
|
<button string="Find Invoice" type="success" icon="search" method="find_invoice"/>
|
|
</group>
|
|
<group span="3" columns="1">
|
|
<field name="description" width="300" height="250" nolabel="1"/>
|
|
</group>
|
|
</group>
|
|
</tab>
|
|
<tab string="Priview">
|
|
<field name="input_data" 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="lines" count="10" nolabel="1">
|
|
<list>
|
|
<field name="invoice_id"/>
|
|
<field name="amount"/>
|
|
</list>
|
|
</field>
|
|
</tab>
|
|
<tab string="History">
|
|
<separator string="TODO"/>
|
|
</tab>
|
|
</tabs>
|
|
<foot>
|
|
<button string="Import" type="success" icon="arrow-right" method="import2journal"/>
|
|
</foot>
|
|
</form>
|