includes/class-wpinv-subscription.php 1 location
|
@@ 238-242 (lines=5) @@
|
| 235 |
|
$invoice->set( 'vat_rate', $parent_invoice->vat_rate ); |
| 236 |
|
$invoice->set( 'adddress_confirmed', $parent_invoice->adddress_confirmed ); |
| 237 |
|
|
| 238 |
|
if ( empty( $args['gateway'] ) ) { |
| 239 |
|
$invoice->set( 'gateway', $parent_invoice->get_gateway() ); |
| 240 |
|
} else { |
| 241 |
|
$invoice->set( 'gateway', $args['gateway'] ); |
| 242 |
|
} |
| 243 |
|
|
| 244 |
|
$recurring_details = $parent_invoice->get_recurring_details(); |
| 245 |
|
|
includes/wpinv-payment-functions.php 1 location
|
@@ 97-101 (lines=5) @@
|
| 94 |
|
$invoice->set( 'vat_rate', $parent_invoice->vat_rate ); |
| 95 |
|
$invoice->set( 'adddress_confirmed', $parent_invoice->adddress_confirmed ); |
| 96 |
|
|
| 97 |
|
if ( empty( $args['gateway'] ) ) { |
| 98 |
|
$invoice->set( 'gateway', $parent_invoice->get_gateway() ); |
| 99 |
|
} else { |
| 100 |
|
$invoice->set( 'gateway', $args['gateway'] ); |
| 101 |
|
} |
| 102 |
|
|
| 103 |
|
$recurring_details = $parent_invoice->get_recurring_details(); |
| 104 |
|
|