mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge fix for payment_type_id
This commit is contained in:
parent
d098f4b270
commit
8ac3cd731e
@ -163,7 +163,7 @@ class PaymentRepository extends BaseRepository
|
|||||||
} else {
|
} else {
|
||||||
$payment = Payment::createNew();
|
$payment = Payment::createNew();
|
||||||
|
|
||||||
if (Auth::check()) {
|
if (Auth::check() && Auth::user()->account->payment_type_id) {
|
||||||
$payment->payment_type_id = Auth::user()->account->payment_type_id;
|
$payment->payment_type_id = Auth::user()->account->payment_type_id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user