| @@ 27-32 (lines=6) @@ | ||
| 24 | <td><?php echo apply_filters( 'wpinv_invoice_status_label', __( 'Invoice Status', 'invoicing' ), $invoice ); ?></td> |
|
| 25 | <td><?php echo $invoice->get_status( true ); ?></td> |
|
| 26 | </tr> |
|
| 27 | <?php if ( $invoice->is_renewal() ) { ?> |
|
| 28 | <tr> |
|
| 29 | <td><?php echo apply_filters( 'wpinv_invoice_parent_invoice_label', __( 'Parent Invoice', 'invoicing' ), $invoice ); ?></td> |
|
| 30 | <td><?php echo wpinv_invoice_link( $invoice->parent_invoice ); ?></td> |
|
| 31 | </tr> |
|
| 32 | <?php } ?> |
|
| 33 | <?php if ( ( $gateway_title = $invoice->get_gateway_title() ) && ( $invoice->is_paid() || $invoice->is_refunded() ) ) { ?> |
|
| 34 | <td><?php echo apply_filters( 'wpinv_invoice_payment_method_label', __( 'Payment Method', 'invoicing' ), $invoice ); ?></td> |
|
| 35 | <td><?php echo $gateway_title; ?></td> |
|
| @@ 873-878 (lines=6) @@ | ||
| 870 | <th><?php echo apply_filters( 'wpinv_invoice_status_label', __( 'Invoice Status', 'invoicing' ), $invoice ); ?></th> |
|
| 871 | <td><?php echo wpinv_invoice_status_label( $invoice_status, wpinv_get_invoice_status( $invoice_id, true ) ); ?></td> |
|
| 872 | </tr> |
|
| 873 | <?php if ( $invoice->is_renewal() ) { ?> |
|
| 874 | <tr class="wpi-row-parent"> |
|
| 875 | <th><?php echo apply_filters( 'wpinv_invoice_parent_invoice_label', __( 'Parent Invoice', 'invoicing' ), $invoice ); ?></th> |
|
| 876 | <td><?php echo wpinv_invoice_link( $invoice->parent_invoice ); ?></td> |
|
| 877 | </tr> |
|
| 878 | <?php } ?> |
|
| 879 | <?php if ( ( $gateway_name = wpinv_get_payment_gateway_name( $invoice_id ) ) && ( $invoice->is_paid() || $invoice->is_refunded() ) ) { ?> |
|
| 880 | <tr class="wpi-row-gateway"> |
|
| 881 | <th><?php echo apply_filters( 'wpinv_invoice_payment_method_label', __( 'Payment Method', 'invoicing' ), $invoice ); ?></th> |
|