Show admin statement

This commit is contained in:
Deon George 2012-12-18 13:59:41 +11:00
parent 7819a05515
commit f007847f70
2 changed files with 7 additions and 2 deletions

View File

@ -0,0 +1,5 @@
<?php
class Cache extends Kohana_Cache {
public static $default = 'apc';
}
?>

View File

@ -7,8 +7,8 @@
<?php } elseif (isset($o['payment'])) { ?> <?php } elseif (isset($o['payment'])) { ?>
<td><?php echo $o['payment']->display('date_payment'); ?></td> <td><?php echo $o['payment']->display('date_payment'); ?></td>
<td>Payment</td> <td>Payment</td>
<td><?php echo $o['payment']->checkout->display('name'); ?></td> <td><?php printf('%s - %s',$o['payment']->id,$o['payment']->checkout->display('name')); ?></td>
<td class="right"><?php echo $o['payment']->display('total_amt'); ?></td> <td class="right"><?php echo $o['payment']->display('total_amt')-$o['payment']->refund_status; ?></td>
<?php } ?> <?php } ?>
<td class="right"><?php echo Currency::display($o['total']); ?></td> <td class="right"><?php echo Currency::display($o['total']); ?></td>
</tr> </tr>