@@ -963,7 +963,7 @@ |
||
963 | 963 | |
964 | 964 | if ( $discount->exists() && $discount->is_recurring() ) { |
965 | 965 | $invoice->add_discount( getpaid_calculate_invoice_discount( $invoice, $discount ) ); |
966 | - } else { |
|
966 | + } else { |
|
967 | 967 | // Unset discount code. |
968 | 968 | $invoice->set_discount_code( '' ); |
969 | 969 |