getItems() : []; $subtotal = is_callable( [ $invoice, 'getSubtotal' ] ) ? (float) $invoice->getSubtotal() : 0.0; $tax = is_callable( [ $invoice, 'getTaxAmount' ] ) ? (float) $invoice->getTaxAmount() : 0.0; $discount = is_callable( [ $invoice, 'getDiscountAmount' ] ) ? (float) $invoice->getDiscountAmount() : 0.0; $total = is_callable( [ $invoice, 'getTotal' ] ) ? (float) $invoice->getTotal() : 0.0; ?>
|
|
|
getCustomerName() ) : ?>
getCustomerName() ); ?>
getCustomerAddress() ) : ?>
getCustomerAddress() ) ); ?>
getCustomerEmail() ) : ?>
getCustomerEmail() ); ?>
|
getTitle() ) : ?>
getTitle() ); ?>
|
| format( $rate ) ); ?> | format( $amt ) ); ?> | ||
| format( $subtotal ) ); ?> | |
| -format( $discount ) ); ?> | |
| format( $tax ) ); ?> | |
| format( $total ) ); ?> | |
| format( $ei_credit_amount ) ); ?> | |
| format( $ei_pdf_paid ) ); ?> | |
| format( max( 0, $total - $ei_pdf_paid - $ei_pdf_credited ) ) ); ?> |
| getNotes() ) ); ?> |
| getTerms() ) ); ?> |