mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 11:04:41 -04:00
Hide autobill when both Stripe and Braintree are not configured
This commit is contained in:
parent
fe2a1fe66a
commit
1a12cd30d3
@ -157,12 +157,14 @@
|
|||||||
->label(trans("texts.{$entityType}_number_short"))
|
->label(trans("texts.{$entityType}_number_short"))
|
||||||
->data_bind("value: invoice_number, valueUpdate: 'afterkeydown'") !!}
|
->data_bind("value: invoice_number, valueUpdate: 'afterkeydown'") !!}
|
||||||
</span>
|
</span>
|
||||||
|
@if($account->getTokenGatewayId())
|
||||||
<span data-bind="visible: is_recurring()" style="display: none">
|
<span data-bind="visible: is_recurring()" style="display: none">
|
||||||
{!! Former::checkbox('auto_bill')
|
{!! Former::checkbox('auto_bill')
|
||||||
->label(trans('texts.auto_bill'))
|
->label(trans('texts.auto_bill'))
|
||||||
->text(trans('texts.enable_with_stripe'))
|
->text(trans('texts.enable'))
|
||||||
->data_bind("checked: auto_bill, valueUpdate: 'afterkeydown'") !!}
|
->data_bind("checked: auto_bill, valueUpdate: 'afterkeydown'") !!}
|
||||||
</span>
|
</span>
|
||||||
|
@endif
|
||||||
{!! Former::text('po_number')->label(trans('texts.po_number_short'))->data_bind("value: po_number, valueUpdate: 'afterkeydown'") !!}
|
{!! Former::text('po_number')->label(trans('texts.po_number_short'))->data_bind("value: po_number, valueUpdate: 'afterkeydown'") !!}
|
||||||
{!! Former::text('discount')->data_bind("value: discount, valueUpdate: 'afterkeydown'")
|
{!! Former::text('discount')->data_bind("value: discount, valueUpdate: 'afterkeydown'")
|
||||||
->addGroupClass('discount-group')->type('number')->min('0')->step('any')->append(
|
->addGroupClass('discount-group')->type('number')->min('0')->step('any')->append(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user