Code: Select all
<tr>
<td><?php echo $text_total; ?></td>
<td><?php echo $total; ?>
<?php if ($credit && $customer) { ?>
<?php if (!$credit_total) { ?>
<span id="credit"><b>[</b> <a id="credit-add"><?php echo $text_credit_add; ?></a> <b>]</b></span>
<?php } else { ?>
<span id="credit"><b>[</b> <a id="credit-remove"><?php echo $text_credit_remove; ?></a> <b>]</b></span>
<?php } ?>
<?php } ?></td>
</tr>
這個功能是做什麼用的?