mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-20 07:18:00 -05:00
Tom git-svn-id: svn+ssh://jekkos@svn.code.sf.net/p/opensourcepos/code/@24 c3eb156b-1dc0-44e1-88ae-e38439141b53
39 lines
970 B
PHP
39 lines
970 B
PHP
<?php $this->load->view("partial/header"); ?>
|
|
<div id="page_title" style="margin-bottom:8px;"><?php echo $this->lang->line('reports_report_input'); ?></div>
|
|
<?php
|
|
if(isset($error))
|
|
{
|
|
echo "<div class='error_message'>".$error."</div>";
|
|
}
|
|
?>
|
|
<div>
|
|
Export to Excel: <input type="radio" name="export_excel" id="export_excel_yes" value='1' /> Yes
|
|
<input type="radio" name="export_excel" id="export_excel_no" value='0' checked='checked' /> No
|
|
</div>
|
|
|
|
<?php
|
|
echo form_button(array(
|
|
'name'=>'generate_report',
|
|
'id'=>'generate_report',
|
|
'content'=>$this->lang->line('common_submit'),
|
|
'class'=>'submit_button')
|
|
);
|
|
?>
|
|
|
|
<?php $this->load->view("partial/footer"); ?>
|
|
|
|
<script type="text/javascript" language="javascript">
|
|
$(document).ready(function()
|
|
{
|
|
$("#generate_report").click(function()
|
|
{
|
|
var export_excel = 0;
|
|
if ($("#export_excel_yes").attr('checked'))
|
|
{
|
|
export_excel = 1;
|
|
}
|
|
|
|
window.location = window.location+'/' + export_excel;
|
|
});
|
|
});
|
|
</script>
|