mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 06:02:39 +01:00
commit
685843bb75
@ -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…
Reference in New Issue
Block a user