address field detailed (city, zip_code, state, country)

This commit is contained in:
Cihan Şentürk
2021-09-03 11:43:55 +03:00
parent 04a4e869e3
commit ebeb8df1da
91 changed files with 15509 additions and 181 deletions

View File

@@ -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', []) }}

View 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', []) }}

View 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')