@extends('header') @section('head') @parent @stop @section('content') @parent @include('accounts.nav', ['selected' => ACCOUNT_INVOICE_SETTINGS, 'advanced' => true]) {!! Former::open()->rules(['iframe_url' => 'url'])->addClass('warn-on-exit') !!} {{ Former::populate($account) }} {{ Former::populateField('auto_convert_quote', intval($account->auto_convert_quote)) }} {{ Former::populateField('auto_archive_quote', intval($account->auto_archive_quote)) }} {{ Former::populateField('auto_email_invoice', intval($account->auto_email_invoice)) }} {{ Former::populateField('auto_archive_invoice', intval($account->auto_archive_invoice)) }} {{ Former::populateField('custom_invoice_taxes1', intval($account->custom_invoice_taxes1)) }} {{ Former::populateField('custom_invoice_taxes2', intval($account->custom_invoice_taxes2)) }} {{ Former::populateField('share_counter', intval($account->share_counter)) }} @foreach (App\Models\Account::$customFields as $field) {{ Former::populateField("custom_fields[$field]", $account->customLabel($field)) }} @endforeach
{!! Former::text('custom_fields[account2]') ->label(trans('texts.company_field')) !!} {!! Former::text('custom_value2') ->label(trans('texts.field_value')) ->help(trans('texts.custom_account_fields_helps')) !!}