mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-02 16:44:36 -04:00
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…
x
Reference in New Issue
Block a user