mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-05 23:44:35 -04:00
Support setting country in buy now link
This commit is contained in:
parent
844770f7d5
commit
e3a53fdcd3
@ -339,6 +339,9 @@ class OnlinePaymentController extends BaseController
|
|||||||
if (request()->currency_code) {
|
if (request()->currency_code) {
|
||||||
$data['currency_code'] = request()->currency_code;
|
$data['currency_code'] = request()->currency_code;
|
||||||
}
|
}
|
||||||
|
if (request()->country_code) {
|
||||||
|
$data['country_code'] = request()->country_code;
|
||||||
|
}
|
||||||
$client = $clientRepo->save($data, $client);
|
$client = $clientRepo->save($data, $client);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user