Created
December 19, 2012 04:04
-
-
Save mhail/4334316 to your computer and use it in GitHub Desktop.
Pancake App - Show Amount Due On Invoice
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Edit your third_party/themes/pancake/views/modules/frontend/detailed.php | |
| Replace the invoices total with this block. | |
| --> | |
| <tr dontbreak="true"> | |
| <td class="total-heading" style=" vertical-align:top;"><?php echo __('invoices:total');?>:</td> | |
| <td class="total-values" style=" vertical-align:top;"><?php echo Currency::format($invoice['total'], $invoice['currency_code']); ?></td> | |
| </tr> | |
| <tr dontbreak="true"> | |
| <td class="total-heading"><?php echo __('Paid Amount');?>:</td> | |
| <td class="total-values"><?php echo Currency::format($invoice['paid_amount'], $invoice['currency_code']); ?></td> | |
| </tr> | |
| <tr dontbreak="true" class="invoice-total"> | |
| <td class="total-heading" style=" vertical-align:top;"><?php echo __('Due');?>:</td> | |
| <td class="total-values" style=" vertical-align:top;"><?php echo Currency::format($invoice['unpaid_amount'], $invoice['currency_code']); ?></td> | |
| </tr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment