Fixes for restore

This commit is contained in:
David Bomba 2022-10-28 17:04:48 +11:00
parent b1d43807c2
commit 540ae8df63

View File

@ -81,7 +81,7 @@ class HandleRestore extends AbstractService
->where('payment_id', $payment->id) ->where('payment_id', $payment->id)
->where('paymentable_type', '=', 'invoices') ->where('paymentable_type', '=', 'invoices')
->where('paymentable_id', $this->invoice->id) ->where('paymentable_id', $this->invoice->id)
->update(['deleted_at' => false]); ->update(['deleted_at' => null]);
}); });