diff --git a/resources/views/accounts/invoice_settings.blade.php b/resources/views/accounts/invoice_settings.blade.php index a786108e0206..e0aa228c8792 100644 --- a/resources/views/accounts/invoice_settings.blade.php +++ b/resources/views/accounts/invoice_settings.blade.php @@ -16,7 +16,7 @@ @stop -@section('content') +@section('content') @parent @include('accounts.nav', ['selected' => ACCOUNT_INVOICE_SETTINGS, 'advanced' => true]) @@ -36,18 +36,18 @@
-
+
{!! Former::inline_radios('invoice_number_type') ->onchange('onInvoiceNumberTypeChange()') @@ -68,12 +68,12 @@ {!! Former::text('invoice_number_padding') !!} {!! Former::text('invoice_number_counter') ->label(trans('texts.counter')) - ->help(trans('texts.invoice_number_help') . ' ' . + ->help(trans('texts.invoice_number_help') . ' ' . trans('texts.next_invoice_number', ['number' => $account->previewNextInvoiceNumber()])) !!}
-
+
{!! Former::inline_radios('quote_number_type') ->onchange('onQuoteNumberTypeChange()') @@ -96,13 +96,13 @@ ->addGroupClass('pad-checkbox') ->append(Former::checkbox('share_counter')->raw() ->onclick('setQuoteNumberEnabled()') . ' ' . trans('texts.share_invoice_counter')) - ->help(trans('texts.quote_number_help') . ' ' . + ->help(trans('texts.quote_number_help') . ' ' . trans('texts.next_quote_number', ['number' => $account->previewNextInvoiceNumber(ENTITY_QUOTE)])) !!}
-
+
{!! Former::text('recurring_invoice_number_prefix') @@ -115,7 +115,7 @@
- +
@@ -126,24 +126,24 @@
-
+
{!! Former::text('custom_client_label1') @@ -154,7 +154,7 @@
-
+
{!! Former::text('custom_label1') @@ -170,7 +170,7 @@
-
+
{!! Former::text('custom_invoice_text_label1') @@ -181,7 +181,7 @@
-
+
{!! Former::text('custom_invoice_item_label1') @@ -192,7 +192,7 @@
-
+
{!! Former::text('custom_invoice_label1') @@ -232,27 +232,27 @@
-
+
{!! Former::textarea('invoice_terms') ->label(trans('texts.default_invoice_terms')) ->rows(4) !!}
-
+ -
+
{!! Former::textarea('quote_terms') ->label(trans('texts.default_quote_terms')) @@ -264,7 +264,7 @@
- + @if (Auth::user()->hasFeature(FEATURE_INVOICE_SETTINGS))
{!! Button::success(trans('texts.save'))->large()->submit()->appendIcon(Icon::create('floppy-disk')) !!} @@ -314,7 +314,7 @@ function setQuoteNumberEnabled() { var disabled = $('#share_counter').prop('checked'); $('#quote_number_counter').prop('disabled', disabled); - $('#quote_number_counter').val(disabled ? '' : '{!! $account->quote_number_counter !!}'); + $('#quote_number_counter').val(disabled ? '' : '{!! $account->quote_number_counter !!}'); } function onInvoiceNumberTypeChange() { @@ -343,7 +343,7 @@ $('#patternHelpModal').modal('show'); }); - $(function() { + $(function() { setQuoteNumberEnabled(); onInvoiceNumberTypeChange(); onQuoteNumberTypeChange();