mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 06:44:37 -04:00
- Convert "true" from frontend to boolean in PaymentResponseRequest - Reference correct 'transaction_reference' in BaseDriver & Checkout\Utilities - Frontend switching between token & credit card when making payments with Checkout.com - New 'pay_with' translation string - Added 'save-card--container' to save card partial - Ensure we show whole transaction reference string in payments/show.blade
18 lines
1.2 KiB
PHP
18 lines
1.2 KiB
PHP
@unless(isset($show_save) && $show_save == false)
|
|
<div class="{{ ($gateway->token_billing == 'optin' || $gateway->token_billing == 'optout') ? 'sm:grid' : 'hidden' }} px-4 py-5 sm:grid-cols-3 sm:gap-4 sm:px-6" id="save-card--container">
|
|
<dt class="text-sm leading-5 font-medium text-gray-500">
|
|
{{ ctrans('texts.token_billing_checkbox') }}
|
|
</dt>
|
|
<dd class="mt-1 text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
|
<label class="mr-4">
|
|
<input type="radio" class="form-radio cursor-pointer" name="token-billing-checkbox" id="proxy_is_default" value="true" {{ ($gateway->token_billing == 'always' || $gateway->token_billing == 'optout') ? 'checked' : '' }} />
|
|
<span class="ml-1 cursor-pointer">{{ ctrans('texts.yes') }}</span>
|
|
</label>
|
|
<label>
|
|
<input type="radio" class="form-radio cursor-pointer" name="token-billing-checkbox" id="proxy_is_default" value="false" {{ ($gateway->token_billing == 'off' || $gateway->token_billing == 'optin') ? 'checked' : '' }} />
|
|
<span class="ml-1 cursor-pointer">{{ ctrans('texts.no') }}</span>
|
|
</label>
|
|
</dd>
|
|
</div>
|
|
@endunless
|