Always show recurring auto-bill select

This commit is contained in:
Hillel Coren 2017-02-21 19:38:42 +02:00
parent bbce6b8ce8
commit 73ca48e381

View File

@ -186,7 +186,6 @@
->addGroupClass('invoice-number')
->data_bind("value: invoice_number, valueUpdate: 'afterkeydown'") !!}
</span>
@if($account->getTokenGatewayId())
<span data-bind="visible: is_recurring()" style="display: none">
<div data-bind="visible: !(auto_bill() == {{AUTO_BILL_OPT_IN}} &amp;&amp; client_enable_auto_bill()) &amp;&amp; !(auto_bill() == {{AUTO_BILL_OPT_OUT}} &amp;&amp; !client_enable_auto_bill())" style="display: none">
{!! Former::select('auto_bill')
@ -212,7 +211,6 @@
</div>
</div>
</span>
@endif
{!! 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'")
->addGroupClass('discount-group')->type('number')->min('0')->step('any')->append(