Merge pull request #7216 from turbo124/v5-develop
Minor fixes for saving cards
This commit is contained in:
commit
697b379889
1 changed files with 3 additions and 1 deletions
|
|
@ -5,11 +5,13 @@
|
|||
|
||||
$gateway_instance = $gateway instanceof \App\Models\CompanyGateway ? $gateway : $gateway->company_gateway;
|
||||
$token_billing = true;
|
||||
$token_billing_string = 'true';
|
||||
$checked_on = '';
|
||||
$checked_off = 'checked';
|
||||
|
||||
if($gateway_instance->token_billing == 'off' || $gateway_instance->token_billing == 'always'){
|
||||
$token_billing = false;
|
||||
$token_billing_string = 'false';
|
||||
}
|
||||
|
||||
if($gateway_instance->token_billing == 'optout' || $gateway_instance->token_billing == 'always'){
|
||||
|
|
@ -44,6 +46,6 @@
|
|||
<input type="radio" class="form-radio cursor-pointer hidden" style="display: none !important;"
|
||||
name="token-billing-checkbox"
|
||||
id="proxy_is_default"
|
||||
value="true" checked hidden disabled/>
|
||||
value="{{ $token_billing_string }}" checked hidden disabled/>
|
||||
</div>
|
||||
@endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue