mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Support setting buy now button currency
This commit is contained in:
parent
d1afeb524b
commit
7a448d5e81
@ -334,6 +334,9 @@ class OnlinePaymentController extends BaseController
|
||||
'custom_value1' => Input::get('custom_client1'),
|
||||
'custom_value2' => Input::get('custom_client2'),
|
||||
];
|
||||
if (request()->currency_code) {
|
||||
$data['currency_code'] = request()->currency_code;
|
||||
}
|
||||
$client = $clientRepo->save($data, $client);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user