#
|
{{ translate('Country') }} | {{ translate('Title_ar') }} | {{ translate('Code') }} | {{ translate('Logo') }} | {{ translate('Active') }} | {{ translate('Options') }} |
---|---|---|---|---|---|---|
{{ $key + 1 + ($provinces->currentPage() - 1) * $provinces->perPage() }} | {{ $province->country->getTranslation('title') }} | {{ $province->getTranslation('title') }} | {{ $province->code }} |
@php
if ($province->logo) {
$link = $province->logo;
} else {
$link = '/images/noimg.png';
}
@endphp
|
|
{{ $provinces->links() }}
{{ translate('Add province') }}
{{ $message }}
@enderror
{!! Form::select('country_id', $countries, null, ['class' => 'form-control select2', 'data-placeholder' => translate('Country')]) !!}
@error('country_id')
{{ $message }}
@enderror
{!! Form::text('title', null, ['class' => 'form-control', 'placeholder' => translate('Title')]) !!}
@error('title')
{{ $message }}
@enderror
{!! Form::text('code', null, ['class' => 'form-control', 'placeholder' => translate('Code')]) !!}
@error('code')
{{ $message }}
@enderror
{!! Form::checkbox('active', null, 1, ['id' => 'Checkbox_1']) !!}