mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-25 09:48:02 -05:00
+ Fixed multiple giftcards issue per Bug #4 reported on Sourceforge where a second giftcard added would have its balance set to $0 even if the sale did not require the total of the second giftcard to pay the remaining amount due. + Small code cleanup git-svn-id: svn+ssh://jekkos@svn.code.sf.net/p/opensourcepos/code/@58 c3eb156b-1dc0-44e1-88ae-e38439141b53
27 lines
768 B
PHP
27 lines
768 B
PHP
<?php
|
|
$this->load->view("partial/header");
|
|
?>
|
|
<div id="page_title" style="margin-bottom:8px;"><?php echo $title ?></div>
|
|
<div id="page_subtitle" style="margin-bottom:8px;"><?php echo $subtitle ?></div>
|
|
<div style="text-align: center;">
|
|
|
|
<script type="text/javascript">
|
|
swfobject.embedSWF(
|
|
"<?php echo base_url(); ?>open-flash-chart.swf", "chart",
|
|
"800", "400", "9.0.0", "expressInstall.swf",
|
|
{"data-file":"<?php echo $data_file; ?>"} );
|
|
</script>
|
|
<?php
|
|
?>
|
|
</div>
|
|
<div id="chart_wrapper">
|
|
<div id="chart"></div>
|
|
</div>
|
|
<div id="report_summary">
|
|
<?php foreach($summary_data as $name=>$value) { ?>
|
|
<div class="summary_row"><?php echo $this->lang->line('reports_'.$name). ': '.to_currency($value); ?></div>
|
|
<?php }?>
|
|
</div>
|
|
<?php
|
|
$this->load->view("partial/footer");
|
|
?>
|