always set the currency_id

This commit is contained in:
David Bomba 2023-10-04 00:54:41 +11:00
parent 1c906fcb52
commit a0749be96e

View File

@ -101,6 +101,9 @@ class PaymentRepository extends BaseRepository
$client->saveQuietly(); $client->saveQuietly();
} }
}, 1); }, 1);
$client = Client::query()->where('id', $data['client_id'])->withTrashed()->first();
} }
/*Fill the payment*/ /*Fill the payment*/