%PDF-1.7 GIF89;
Server IP : 5.161.254.237 / Your IP : 216.73.216.8 Web Server : Apache System : Linux diamond.sialwebvps.com 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64 User : stellasp ( 1131) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/stellasp/www/application/views/admin/reports/ |
Upload File : |
<?php $m = Array( lang('january') ,lang('february') ,lang('march') ,lang('april') ,lang('may') ,lang('june') ,lang('july') ,lang('august') ,lang('september') ,lang('october') ,lang('november') ,lang('december') ); foreach($orders as $year=>$months):?> <table class="gc_table" cellspacing="0" cellpadding="0" style="margin-bottom:10px;"> <thead> <tr> <?php /*<th>ID</th> uncomment this if you want it*/ ?> <th class="gc_cell_left"><?php echo sprintf(lang('months_of'), $year);?></th> <th><?php echo lang('coupon_discounts');?></th> <th><?php echo lang('giftcard_discounts');?></th> <th><?php echo lang('products');?></th> <th><?php echo lang('shipping');?></th> <th><?php echo lang('tax');?></th> <th class="gc_cell_right"><?php echo lang('grand_total');?></th> </tr> </thead> <tbody> <?php foreach($months as $month=>$totals):?> <tr class="gc_row"> <td class="gc_cell_left"><?php echo $m[$month-1];?></td> <td><?php echo format_currency($totals['coupon_discounts']);?></td> <td><?php echo format_currency($totals['gift_card_discounts']);?></td> <td><?php echo format_currency($totals['product_totals']);?></td> <td><?php echo format_currency($totals['shipping']);?></td> <td><?php echo format_currency($totals['tax']);?></td> <td class="gc_cell_right"><?php echo format_currency($totals['total']);?></td> </tr> <?php endforeach;?> </tbody> </table> <?php endforeach;?>