address field detailed (city, zip_code, state, country)
This commit is contained in:
@@ -31,6 +31,14 @@
|
||||
|
||||
{{ Form::textareaGroup('address', trans('general.address')) }}
|
||||
|
||||
{{ Form::textGroup('city', trans_choice('addresses.cities', 1), 'city', [], setting('company.city')) }}
|
||||
|
||||
{{ Form::textGroup('zip_code', trans('addresses.zip_code'), 'mail-bulk', [], setting('company.zip_code')) }}
|
||||
|
||||
{{ Form::textGroup('state', trans('addresses.state'), 'city', [], setting('company.state')) }}
|
||||
|
||||
{{ Form::selectGroup('country', trans_choice('addresses.countries', 1), 'globe-americas', trans('countries'), setting('company.country'), []) }}
|
||||
|
||||
{{ Form::fileGroup('logo', trans('companies.logo'), '', ['dropzone-class' => 'form-file']) }}
|
||||
|
||||
{{ Form::radioGroup('enabled', trans('general.enabled'), true) }}
|
||||
|
||||
@@ -32,6 +32,14 @@
|
||||
|
||||
{{ Form::textareaGroup('address', trans('general.address')) }}
|
||||
|
||||
{{ Form::textGroup('city', trans_choice('addresses.cities', 1), 'city', []) }}
|
||||
|
||||
{{ Form::textGroup('zip_code', trans('addresses.zip_code'), 'mail-bulk', []) }}
|
||||
|
||||
{{ Form::textGroup('state', trans('addresses.state'), 'city', []) }}
|
||||
|
||||
{{ Form::selectGroup('country', trans_choice('addresses.countries', 1), 'globe-americas', trans('countries'), $company->country, []) }}
|
||||
|
||||
{{ Form::fileGroup('logo', trans('companies.logo'), '', ['dropzone-class' => 'form-file'], $company->company_logo) }}
|
||||
|
||||
{{ Form::radioGroup('enabled', trans('general.enabled'), $company->enabled) }}
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
<akaunting-company-edit company-id="{{ company_id() }}"
|
||||
button-text="{{ trans('settings.company.edit_your_business_address') }}"
|
||||
tax-number-text="{{ trans('general.tax_number') }}"
|
||||
:country-text="{{ json_encode(trans('countries')) }}"
|
||||
:company="{{ json_encode($company) }}"
|
||||
:company-form="{{ json_encode([
|
||||
'show' => true,
|
||||
|
||||
@@ -38,7 +38,11 @@
|
||||
@endif
|
||||
|
||||
@if (!$hideCompanyAddress)
|
||||
<p>{!! nl2br(setting('company.address')) !!}</p>
|
||||
<p>
|
||||
{!! nl2br(setting('company.address')) !!}
|
||||
<br>
|
||||
{!! $companyLocation !!}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@if (!$hideCompanyTaxNumber)
|
||||
@@ -108,7 +112,11 @@
|
||||
|
||||
@stack('address_input_start')
|
||||
@if (!$hideContactAddress)
|
||||
<p>{!! nl2br($document->contact_address) !!}</p>
|
||||
<p>
|
||||
{!! nl2br($document->contact_address) !!}
|
||||
<br>
|
||||
{!! $contactLocation !!}
|
||||
</p>
|
||||
@endif
|
||||
@stack('address_input_end')
|
||||
|
||||
|
||||
@@ -38,7 +38,11 @@
|
||||
@endif
|
||||
|
||||
@if (!$hideCompanyAddress)
|
||||
<p>{!! nl2br(setting('company.address')) !!}</p>
|
||||
<p>
|
||||
{!! nl2br(setting('company.address')) !!}
|
||||
<br>
|
||||
{!! $companyLocation !!}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@if (!$hideCompanyTaxNumber)
|
||||
@@ -82,7 +86,11 @@
|
||||
|
||||
@stack('address_input_start')
|
||||
@if (!$hideContactAddress)
|
||||
<p>{!! nl2br($document->contact_address) !!}</p>
|
||||
<p>
|
||||
{!! nl2br($document->contact_address) !!}
|
||||
<br>
|
||||
{!! $contactLocation !!}
|
||||
</p>
|
||||
@endif
|
||||
@stack('address_input_end')
|
||||
|
||||
|
||||
@@ -38,7 +38,11 @@
|
||||
@stack('company_details_start')
|
||||
@if (!$hideCompanyDetails)
|
||||
@if (!$hideCompanyAddress)
|
||||
<strong class="text-white">{!! nl2br(setting('company.address')) !!}</strong><br><br>
|
||||
<strong class="text-white">
|
||||
{!! nl2br(setting('company.address')) !!}
|
||||
<br>
|
||||
{!! $companyLocation !!}
|
||||
</strong><br><br>
|
||||
@endif
|
||||
|
||||
@if (!$hideCompanyTaxNumber)
|
||||
@@ -84,6 +88,8 @@
|
||||
@stack('address_input_start')
|
||||
@if (!$hideContactAddress)
|
||||
{!! nl2br($document->contact_address) !!}
|
||||
<br>
|
||||
{!! $contactLocation !!}
|
||||
<br><br>
|
||||
@endif
|
||||
@stack('address_input_end')
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
no-matching-data-text="{{ trans('general.no_matching_data') }}"
|
||||
search-route="{{ $search_route }}"
|
||||
create-route="{{ $create_route }}"
|
||||
:country-text="{{ json_encode(trans('countries')) }}"
|
||||
:contacts="{{ json_encode($contacts) }}"
|
||||
:selected="{{ json_encode($contact) }}"
|
||||
add-contact-text="{{ is_array($textAddContact) ? trans($textAddContact[0], ['field' => trans_choice($textAddContact[1], 1)]) : trans($textAddContact) }}"
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
|
||||
{{ Form::textareaGroup('address', trans('settings.company.address'), null, setting('company.address')) }}
|
||||
|
||||
{{ Form::selectGroup('country', trans_choice('addresses.countries', 1), 'globe-americas', trans('countries'), setting('company.country'), []) }}
|
||||
|
||||
{!! Form::hidden('_prefix', 'company') !!}
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
{{ Form::textareaGroup('address', trans('general.address')) }}
|
||||
|
||||
{{ Form::selectGroup('country', trans_choice('addresses.countries', 1), 'globe-americas', trans('countries'), setting('default.country'), []) }}
|
||||
|
||||
{{ Form::hidden('type', 'customer') }}
|
||||
{!! Form::hidden('enabled', '1', []) !!}
|
||||
</div>
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
|
||||
{{ Form::textareaGroup('address', trans('general.address'), null, $customer->address) }}
|
||||
|
||||
{{ Form::selectGroup('country', trans_choice('addresses.countries', 1), 'globe-americas', trans('countries'), $customer->country, []) }}
|
||||
|
||||
{{ Form::hidden('type', 'customer') }}
|
||||
{!! Form::hidden('enabled', '1', []) !!}
|
||||
</div>
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
{{ Form::textareaGroup('address', trans('general.address')) }}
|
||||
|
||||
{{ Form::selectGroup('country', trans_choice('addresses.countries', 1), 'globe-americas', trans('countries'), setting('default.country'), []) }}
|
||||
|
||||
{{ Form::hidden('type', 'vendor') }}
|
||||
{!! Form::hidden('enabled', '1', []) !!}
|
||||
</div>
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
|
||||
{{ Form::textareaGroup('address', trans('general.address'), null, $vendor->address) }}
|
||||
|
||||
{{ Form::selectGroup('country', trans_choice('addresses.countries', 1), 'globe-americas', trans('countries'), $vendor->country, []) }}
|
||||
|
||||
{{ Form::hidden('type', 'vendor') }}
|
||||
{!! Form::hidden('enabled', '1', []) !!}
|
||||
</div>
|
||||
|
||||
@@ -31,6 +31,14 @@
|
||||
|
||||
{{ Form::textareaGroup('address', trans('general.address')) }}
|
||||
|
||||
{{ Form::textGroup('city', trans_choice('addresses.cities', 1), 'city', []) }}
|
||||
|
||||
{{ Form::textGroup('zip_code', trans('addresses.zip_code'), 'mail-bulk', []) }}
|
||||
|
||||
{{ Form::textGroup('state', trans('addresses.state'), 'city', []) }}
|
||||
|
||||
{{ Form::selectGroup('country', trans_choice('addresses.countries', 1), 'globe-americas', trans('countries'), setting('default.country'), []) }}
|
||||
|
||||
{{ Form::fileGroup('logo', trans_choice('general.pictures', 1), '', ['dropzone-class' => 'form-file']) }}
|
||||
|
||||
{{ Form::textGroup('reference', trans('general.reference'), 'file', []) }}
|
||||
|
||||
@@ -32,6 +32,14 @@
|
||||
|
||||
{{ Form::textareaGroup('address', trans('general.address')) }}
|
||||
|
||||
{{ Form::textGroup('city', trans_choice('addresses.cities', 1), 'city', []) }}
|
||||
|
||||
{{ Form::textGroup('zip_code', trans('addresses.zip_code'), 'mail-bulk', []) }}
|
||||
|
||||
{{ Form::textGroup('state', trans('addresses.state'), 'city', []) }}
|
||||
|
||||
{{ Form::selectGroup('country', trans_choice('addresses.countries', 1), 'globe-americas', trans('countries'), $vendor->country, []) }}
|
||||
|
||||
{{ Form::fileGroup('logo', trans_choice('general.logos', 1), '', ['dropzone-class' => 'form-file']) }}
|
||||
|
||||
{{ Form::textGroup('reference', trans('general.reference'), 'file', []) }}
|
||||
|
||||
@@ -109,6 +109,7 @@
|
||||
<li class="list-group-item border-0 border-top-1">
|
||||
<div class="font-weight-600">{{ trans('general.address') }}</div>
|
||||
<div><small>{{ $vendor->address }}</small></div>
|
||||
<div><small>{{ $vendor->location }}</small></div>
|
||||
</li>
|
||||
@stack('vendor_address_end')
|
||||
|
||||
|
||||
@@ -32,6 +32,14 @@
|
||||
|
||||
{{ Form::textareaGroup('address', trans('general.address')) }}
|
||||
|
||||
{{ Form::textGroup('city', trans_choice('addresses.cities', 1), 'city', []) }}
|
||||
|
||||
{{ Form::textGroup('zip_code', trans('addresses.zip_code'), 'mail-bulk', []) }}
|
||||
|
||||
{{ Form::textGroup('state', trans('addresses.state'), 'city', []) }}
|
||||
|
||||
{{ Form::selectGroup('country', trans_choice('addresses.countries', 1), 'globe-americas', trans('countries'), setting('default.country'), []) }}
|
||||
|
||||
{{ Form::textGroup('reference', trans('general.reference'), 'file', []) }}
|
||||
|
||||
{{ Form::radioGroup('enabled', trans('general.enabled'), true) }}
|
||||
|
||||
@@ -31,6 +31,14 @@
|
||||
|
||||
{{ Form::textareaGroup('address', trans('general.address')) }}
|
||||
|
||||
{{ Form::textGroup('city', trans_choice('addresses.cities', 1), 'city', []) }}
|
||||
|
||||
{{ Form::textGroup('zip_code', trans('addresses.zip_code'), 'mail-bulk', []) }}
|
||||
|
||||
{{ Form::textGroup('state', trans('addresses.state'), 'city', []) }}
|
||||
|
||||
{{ Form::selectGroup('country', trans_choice('addresses.countries', 1), 'globe-americas', trans('countries'), $customer->country, []) }}
|
||||
|
||||
{{ Form::textGroup('reference', trans('general.reference'), 'file', []) }}
|
||||
|
||||
{{ Form::radioGroup('enabled', trans('general.enabled'), $customer->enabled) }}
|
||||
|
||||
@@ -110,6 +110,7 @@
|
||||
<li class="list-group-item border-0 border-top-1">
|
||||
<div class="font-weight-600">{{ trans('general.address') }}</div>
|
||||
<div><small>{{ $customer->address }}</small></div>
|
||||
<div><small>{{ $customer->location }}</small></div>
|
||||
</li>
|
||||
@stack('customer_address_end')
|
||||
|
||||
|
||||
@@ -28,6 +28,14 @@
|
||||
|
||||
{{ Form::textareaGroup('address', trans('settings.company.address'), null, setting('company.address')) }}
|
||||
|
||||
{{ Form::textGroup('city', trans_choice('addresses.cities', 1), 'city', [], setting('company.city')) }}
|
||||
|
||||
{{ Form::textGroup('zip_code', trans('addresses.zip_code'), 'mail-bulk', [], setting('company.zip_code')) }}
|
||||
|
||||
{{ Form::textGroup('state', trans('addresses.state'), 'city', [], setting('company.state')) }}
|
||||
|
||||
{{ Form::selectGroup('country', trans_choice('addresses.countries', 1), 'globe-americas', trans('countries'), setting('company.country'), []) }}
|
||||
|
||||
{{ Form::fileGroup('logo', trans('settings.company.logo'), 'file-image-o', [], setting('company.logo')) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -32,6 +32,8 @@
|
||||
|
||||
{{ Form::selectGroup('locale', trans_choice('general.languages', 1), 'flag', language()->allowed(), setting('default.locale'), []) }}
|
||||
|
||||
{{ Form::selectGroup('country', trans_choice('addresses.countries', 1), 'globe-americas', trans('countries'), setting('default.country'), []) }}
|
||||
|
||||
{{ Form::selectGroup('list_limit', trans('settings.default.list_limit'), 'columns', ['10' => '10', '25' => '25', '50' => '50', '100' => '100'], setting('default.list_limit'), []) }}
|
||||
|
||||
{{ Form::radioGroup('use_gravatar', trans('settings.default.use_gravatar'), setting('default.use_gravatar')) }}
|
||||
|
||||
Reference in New Issue
Block a user