mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Updates for payment currency
This commit is contained in:
parent
31e09de230
commit
ae8bdcd273
@ -107,6 +107,10 @@ class PaymentRepository extends BaseRepository {
|
||||
$payment->is_manual = true;
|
||||
$payment->status_id = Payment::STATUS_COMPLETED;
|
||||
|
||||
if (! $payment->currency_id) {
|
||||
$payment->currency_id = $client->company->settings->currency_id;
|
||||
}
|
||||
|
||||
$payment->save();
|
||||
|
||||
/*Save documents*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user