15 lines
718 B
PHP
15 lines
718 B
PHP
<tr class="<?php echo $trc; ?>">
|
|
<?php if (isset($o['invoice'])) { ?>
|
|
<td><?php echo $o['invoice']->display('date_orig'); ?></td>
|
|
<td>Invoice</td>
|
|
<td><?php echo HTML::anchor(URL::link('user','invoice/view/'.$o['invoice']->id),$o['invoice']->id()); ?></td>
|
|
<td class="right"><?php echo $o['invoice']->total(TRUE); ?></td>
|
|
<?php } elseif (isset($o['payment'])) { ?>
|
|
<td><?php echo $o['payment']->display('date_payment'); ?></td>
|
|
<td>Payment</td>
|
|
<td><?php printf('%s - %s',$o['payment']->id,$o['payment']->checkout->display('name')); ?></td>
|
|
<td class="right"><?php echo $o['payment']->total(TRUE); ?></td>
|
|
<?php } ?>
|
|
<td class="right"><?php echo Currency::display($o['total']); ?></td>
|
|
</tr>
|