| @@ 898-903 (lines=6) @@ | ||
| 895 | </tr> |
|
| 896 | <?php } ?> |
|
| 897 | <?php do_action( 'wpinv_display_details_after_due_date', $invoice_id ); ?> |
|
| 898 | <?php if ( $owner_vat_number = $wpinv_euvat->get_vat_number() ) { ?> |
|
| 899 | <tr class="wpi-row-ovatno"> |
|
| 900 | <th><?php echo apply_filters( 'wpinv_invoice_owner_vat_number_label', wp_sprintf( __( 'Owner %s Number', 'invoicing' ), $vat_name ), $invoice, $vat_name ); ?></th> |
|
| 901 | <td><?php echo $owner_vat_number; ?></td> |
|
| 902 | </tr> |
|
| 903 | <?php } ?> |
|
| 904 | <?php do_action( 'wpinv_display_details_after_due_date', $invoice_id ); ?> |
|
| 905 | <?php if ( $use_taxes && ( $user_vat_number = wpinv_get_invoice_vat_number( $invoice_id ) ) ) { ?> |
|
| 906 | <tr class="wpi-row-uvatno"> |
|
| @@ 905-910 (lines=6) @@ | ||
| 902 | </tr> |
|
| 903 | <?php } ?> |
|
| 904 | <?php do_action( 'wpinv_display_details_after_due_date', $invoice_id ); ?> |
|
| 905 | <?php if ( $use_taxes && ( $user_vat_number = wpinv_get_invoice_vat_number( $invoice_id ) ) ) { ?> |
|
| 906 | <tr class="wpi-row-uvatno"> |
|
| 907 | <th><?php echo apply_filters( 'wpinv_invoice_user_vat_number_label', wp_sprintf( __( 'Invoice %s Number', 'invoicing' ), $vat_name ), $invoice, $vat_name ); ?></th> |
|
| 908 | <td><?php echo $user_vat_number; ?></td> |
|
| 909 | </tr> |
|
| 910 | <?php } ?> |
|
| 911 | <tr class="table-active tr-total wpi-row-total"> |
|
| 912 | <th><strong><?php _e( 'Total Amount', 'invoicing' ) ?></strong></th> |
|
| 913 | <td><strong><?php echo wpinv_payment_total( $invoice_id, true ); ?></strong></td> |
|
| @@ 50-55 (lines=6) @@ | ||
| 47 | </tr> |
|
| 48 | <?php } ?> |
|
| 49 | <?php do_action( 'wpinv_email_invoice_details_after_due_date', $invoice->ID ); ?> |
|
| 50 | <?php if ( empty( $sent_to_admin ) && ( $owner_vat_number = $wpinv_euvat->get_vat_number() ) ) { ?> |
|
| 51 | <tr> |
|
| 52 | <td><?php echo apply_filters( 'wpinv_invoice_owner_vat_number_label', wp_sprintf( __( 'Owner %s Number', 'invoicing' ), $vat_name ), $invoice, $vat_name ); ?></td> |
|
| 53 | <td><?php echo $owner_vat_number; ?></td> |
|
| 54 | </tr> |
|
| 55 | <?php } ?> |
|
| 56 | <?php if ( $use_taxes && ( $user_vat_number = $invoice->vat_number ) ) { ?> |
|
| 57 | <tr> |
|
| 58 | <td><?php echo apply_filters( 'wpinv_invoice_user_vat_number_label', wp_sprintf( __( 'Invoice %s Number', 'invoicing' ), $vat_name ), $invoice, $vat_name ); ?></td> |
|
| @@ 56-61 (lines=6) @@ | ||
| 53 | <td><?php echo $owner_vat_number; ?></td> |
|
| 54 | </tr> |
|
| 55 | <?php } ?> |
|
| 56 | <?php if ( $use_taxes && ( $user_vat_number = $invoice->vat_number ) ) { ?> |
|
| 57 | <tr> |
|
| 58 | <td><?php echo apply_filters( 'wpinv_invoice_user_vat_number_label', wp_sprintf( __( 'Invoice %s Number', 'invoicing' ), $vat_name ), $invoice, $vat_name ); ?></td> |
|
| 59 | <td><?php echo $user_vat_number; ?></td> |
|
| 60 | </tr> |
|
| 61 | <?php } ?> |
|
| 62 | <tr class="table-active"> |
|
| 63 | <td><strong><?php _e( 'Total Amount', 'invoicing' ) ?></strong></td> |
|
| 64 | <td><strong><?php echo $invoice->get_total( true ); ?></strong></td> |
|