mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-24 18:27:10 +02:00
commit
685843bb75
@ -5,11 +5,13 @@
|
|||||||
|
|
||||||
$gateway_instance = $gateway instanceof \App\Models\CompanyGateway ? $gateway : $gateway->company_gateway;
|
$gateway_instance = $gateway instanceof \App\Models\CompanyGateway ? $gateway : $gateway->company_gateway;
|
||||||
$token_billing = true;
|
$token_billing = true;
|
||||||
|
$token_billing_string = 'true';
|
||||||
$checked_on = '';
|
$checked_on = '';
|
||||||
$checked_off = 'checked';
|
$checked_off = 'checked';
|
||||||
|
|
||||||
if($gateway_instance->token_billing == 'off' || $gateway_instance->token_billing == 'always'){
|
if($gateway_instance->token_billing == 'off' || $gateway_instance->token_billing == 'always'){
|
||||||
$token_billing = false;
|
$token_billing = false;
|
||||||
|
$token_billing_string = 'false';
|
||||||
}
|
}
|
||||||
|
|
||||||
if($gateway_instance->token_billing == 'optout' || $gateway_instance->token_billing == 'always'){
|
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;"
|
<input type="radio" class="form-radio cursor-pointer hidden" style="display: none !important;"
|
||||||
name="token-billing-checkbox"
|
name="token-billing-checkbox"
|
||||||
id="proxy_is_default"
|
id="proxy_is_default"
|
||||||
value="true" checked hidden disabled/>
|
value="{{ $token_billing_string }}" checked hidden disabled/>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
Loading…
Reference in New Issue
Block a user