diff --git a/app/Models/Account.php b/app/Models/Account.php index 04e32fad7818..cecb48237406 100644 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -35,8 +35,8 @@ class Account extends Eloquent public static $advancedSettings = [ ACCOUNT_INVOICE_SETTINGS, ACCOUNT_INVOICE_DESIGN, - ACCOUNT_CLIENT_PORTAL, ACCOUNT_EMAIL_SETTINGS, + ACCOUNT_CLIENT_PORTAL, ACCOUNT_TEMPLATES_AND_REMINDERS, ACCOUNT_CHARTS_AND_REPORTS, ACCOUNT_DATA_VISUALIZATIONS, diff --git a/resources/views/accounts/invoice_design.blade.php b/resources/views/accounts/invoice_design.blade.php index 38db2a601b11..98dac26a6f5d 100644 --- a/resources/views/accounts/invoice_design.blade.php +++ b/resources/views/accounts/invoice_design.blade.php @@ -122,32 +122,46 @@
- @if (!Utils::isPro() || \App\Models\InvoiceDesign::count() == COUNT_FREE_DESIGNS_SELF_HOST) - {!! Former::select('invoice_design_id') - ->style('display:inline; width:300px') - ->fromQuery($invoiceDesigns, 'name', 'id') - ->addOption(trans('texts.more_designs') . '...', '-1') !!} - @else - {!! Former::select('invoice_design_id') - ->style('display:inline; width:300px') - ->fromQuery($invoiceDesigns, 'name', 'id') !!} - @endif - {!! Former::select('header_font_id') - ->style('display:inline; width:300px') - ->fromQuery($invoiceFonts, 'name', 'id') !!} - {!! Former::select('body_font_id') - ->style('display:inline; width:300px') - ->fromQuery($invoiceFonts, 'name', 'id') !!} +
+
- {!! Former::text('font_size') - ->style('width:300px') - ->type('number') - ->min('0') - ->step('1') !!} + @if (!Utils::isPro() || \App\Models\InvoiceDesign::count() == COUNT_FREE_DESIGNS_SELF_HOST) + {!! Former::select('invoice_design_id') + ->fromQuery($invoiceDesigns, 'name', 'id') + ->addOption(trans('texts.more_designs') . '...', '-1') !!} + @else + {!! Former::select('invoice_design_id') + ->fromQuery($invoiceDesigns, 'name', 'id') !!} + @endif + {!! Former::select('body_font_id') + ->fromQuery($invoiceFonts, 'name', 'id') !!} + {!! Former::select('header_font_id') + ->fromQuery($invoiceFonts, 'name', 'id') !!} - {!! Former::text('primary_color') !!} - {!! Former::text('secondary_color') - ->help('
'.trans('texts.color_font_help')) !!} +
+
+ + + {{ Former::setOption('TwitterBootstrap3.labelWidths.large', 6) }} + {{ Former::setOption('TwitterBootstrap3.labelWidths.small', 6) }} + + {!! Former::text('font_size') + ->type('number') + ->min('0') + ->step('1') !!} + + {!! Former::text('primary_color') !!} + {!! Former::text('secondary_color') !!} + + {{ Former::setOption('TwitterBootstrap3.labelWidths.large', 4) }} + {{ Former::setOption('TwitterBootstrap3.labelWidths.small', 4) }} + +
+
+ +
+ {{ trans('texts.color_font_help') }} +