Find trashed invoices
This commit is contained in:
parent
86824138c9
commit
3545482892
|
|
@ -98,7 +98,7 @@ class SubscriptionService
|
||||||
->save();
|
->save();
|
||||||
|
|
||||||
//update the invoice and attach to the recurring invoice!!!!!
|
//update the invoice and attach to the recurring invoice!!!!!
|
||||||
$invoice = Invoice::find($payment_hash->fee_invoice_id);
|
$invoice = Invoice::withTrashed()->find($payment_hash->fee_invoice_id);
|
||||||
$invoice->recurring_id = $recurring_invoice->id;
|
$invoice->recurring_id = $recurring_invoice->id;
|
||||||
$invoice->is_proforma = false;
|
$invoice->is_proforma = false;
|
||||||
$invoice->save();
|
$invoice->save();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue