_table_body.php
3 months ago
edit_form.php
1 year ago
index.php
1 year ago
view_receipt_by_key.php
1 year ago
view_receipt_by_key.php
24 lines
| 1 | <?php |
| 2 | /* |
| 3 | * Copyright (c) 2023 LatePoint LLC. All rights reserved. |
| 4 | */ |
| 5 | |
| 6 | /* @var $invoice OsInvoiceModel */ |
| 7 | /* @var $transaction OsTransactionModel */ |
| 8 | /* @var $invoice_data array */ |
| 9 | ?> |
| 10 | <?php |
| 11 | if ( ! defined( 'ABSPATH' ) ) { |
| 12 | exit; // Exit if accessed directly |
| 13 | } |
| 14 | |
| 15 | if($invoice){ ?> |
| 16 | <div class="os-invoice-wrapper"> |
| 17 | <div class="os-invoice-inner"> |
| 18 | <?php OsInvoicesHelper::invoice_document_html($invoice, false, $transaction); ?> |
| 19 | </div> |
| 20 | </div> |
| 21 | <?php |
| 22 | }else{ |
| 23 | echo 'Invoice not found'; |
| 24 | } |