clinic/clinic/templates/report_sale_cust_page.xml

23 lines
860 B
XML

<v:page title="Sales by Customer">
<v:flash/>
<v:form_body background="1">
<v:row>
<v:field name="date" span="2"/>
<div class="span2" style="margin-top:10px">
<v:button string="Update" type="primary" icon="refresh" method="show_report"/>
</div>
</v:row>
</v:form_body>
<div id="report">
<v:action name="report_sale_cust"/>
</div>
</v:page>
<v:form_actions>
<v:button_group string="Export" type="primary" dropdown="1">
<v:item string="PDF" action="report_sale_cust_jasper" action_options="format=pdf"/>
<v:item string="Excel" action="report_sale_cust_jasper" action_options="format=xls"/>
<v:item string="Google Docs" action="report_sale_cust_jasper" action_options="format=xls&upload_gdocs=1"/>
</v:button_group>
</v:form_actions>