@extends('layouts.app') @section('content')
{{__('texte.storages_arr.edit.edit_storage')}}
{{__('texte.storages_arr.edit.storages')}}
{{ method_field('PATCH') }} {{ csrf_field() }}
{{__('texte.storages_arr.edit.name')}}
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
{{__('texte.storages_arr.edit.country')}}
--- {{__('texte.storages_arr.edit.country')}} ---
@foreach ($countries as $country)
location->area->country_id) == $country->id) ? "selected" : ""}}>{{ $country->name }}
@endforeach
@if ($errors->has('country'))
{{ $errors->first('country') }}
@endif
{{__('texte.storages_arr.edit.area')}}
--- {{__('texte.storages_arr.edit.area')}} ---
@foreach($areas as $area)
location->area_id)==$area->id ? "selected" : ""}}>{{$area->name}}
@endforeach
@if ($errors->has('area'))
{{ $errors->first('area') }}
@endif
{{__('texte.storages_arr.create.location_type')}}
--- {{__('texte.storages_arr.create.location_type')}} ---
@foreach($location_types as $location_type)
location->location_type_id)==$location_type->id ? 'selected' : ''}}>{{$location_type->name}}
@endforeach
@if ($errors->has('location_type'))
{{ $errors->first('location_type') }}
@endif
{{__('texte.storages_arr.edit.location')}}
--- {{__('texte.storages_arr.edit.location')}} ---
@foreach($locations as $location)
location_id)==$location->id ? "selected" : ""}}>{{$location->name}}
@endforeach
@if ($errors->has('location'))
{{ $errors->first('location') }}
@endif
{{__('texte.storages_arr.edit.address')}}
@if ($errors->has('address'))
{{ $errors->first('address') }}
@endif
{{__('texte.storages_arr.edit.position')}}
@if ($errors->has('gps_lng'))
{{ $errors->first('gps_lng') }}
@endif
{{__('texte.storages_arr.edit.phone')}}
@if ($errors->has('phone'))
{{ $errors->first('phone') }}
@endif
{{__('texte.storages_arr.edit.email')}}
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
{{__('texte.storages_arr.edit.website')}}
@if ($errors->has('websait'))
{{ $errors->first('websait') }}
@endif
{{__('texte.storages_arr.edit.register_number')}}
@if ($errors->has('babh'))
{{ $errors->first('babh') }}
@endif
{{__('texte.storages_arr.edit.licence')}}
@if ($errors->has('license'))
{{ $errors->first('license') }}
@endif
{{__('texte.storages_arr.edit.permission')}}
@if ($errors->has('licence'))
{{ $errors->first('licence') }}
@endif
{{__('texte.storages_arr.edit.fisk_device')}}
@if ($errors->has('fisc'))
{{ $errors->first('fisc') }}
@endif
{{__('texte.storages_arr.edit.company_data')}}
{{__('texte.storages_arr.edit.company_name')}}
@if ($errors->has('company_name'))
{{ $errors->first('company_name') }}
@endif
{{__('texte.storages_arr.edit.company_name_latin')}}
@if ($errors->has('company_name_lat'))
{{ $errors->first('company_name_lat') }}
@endif
{{__('texte.storages_arr.edit.company_country')}}
--- {{__('texte.storages_arr.edit.country')}} ---
@foreach ($countries as $country)
companyLocation->area->country_id) == $country->id ? "selected" : ""}}>{{ $country->name }}
@endforeach
@if ($errors->has('company_country'))
{{ $errors->first('company_country') }}
@endif
{{__('texte.storages_arr.edit.company_area')}}
--- {{__('texte.storages_arr.edit.area')}} ---
@foreach($areas as $company_area)
companyLocation->area_id)==$company_area->id ? "selected" : ""}}>{{$company_area->name}}
@endforeach
@if ($errors->has('company_area'))
{{ $errors->first('company_area') }}
@endif
{{__('texte.storages_arr.edit.location_type')}}
--- {{__('texte.storages_arr.edit.location_type')}} ---
@foreach($location_types as $location_type)
location->location_type_id)==$location_type->id ? 'selected' : ''}}>{{$location_type->name}}
@endforeach
@if ($errors->has('company_location_type'))
{{ $errors->first('company_location_type') }}
@endif
{{__('texte.storages_arr.edit.company_location')}}
--- {{__('texte.storages_arr.edit.location')}} ---
@foreach($locations as $company_location)
company_location_id)==$company_location->id ? "selected" : ""}}>{{$company_location->name}}
@endforeach
@if ($errors->has('company_location'))
{{ $errors->first('company_location') }}
@endif
{{__('texte.storages_arr.edit.company_address')}}
@if ($errors->has('company_address'))
{{ $errors->first('company_address') }}
@endif
{{__('texte.storages_arr.edit.company_address_latin')}}
@if ($errors->has('company_address_lat'))
{{ $errors->first('company_address_lat') }}
@endif
{{__('texte.storages_arr.edit.pic')}}
@if ($errors->has('mol'))
{{ $errors->first('mol') }}
@endif
{{__('texte.storages_arr.edit.bulstat')}}
@if ($errors->has('bulstat'))
{{ $errors->first('bulstat') }}
@endif
{{__('texte.storages_arr.edit.vat')}}
@if ($errors->has('vat'))
{{ $errors->first('vat') }}
@endif @if ($errors->has('country_vat'))
{{ $errors->first('vat') }}
@endif
{{__('texte.storages_arr.edit.bank_name')}}
@if ($errors->has('bank'))
{{ $errors->first('bank') }}
@endif
{{__('texte.storages_arr.edit.bank_account')}}
@if ($errors->has('iban'))
{{ $errors->first('iban') }}
@endif
{{__('texte.storages_arr.edit.bank_code')}}
@if ($errors->has('bic'))
{{ $errors->first('bic') }}
@endif
{{__('texte.storages_arr.edit.second_bank_name')}}
@if ($errors->has('bank2'))
{{ $errors->first('bank2') }}
@endif
{{__('texte.storages_arr.edit.bank_account')}}
@if ($errors->has('iban2'))
{{ $errors->first('iban2') }}
@endif
{{__('texte.storages_arr.edit.bank_code')}}
@if ($errors->has('bic2'))
{{ $errors->first('bic2') }}
@endif
active==1 ? "checked" : ""}}/> {{__('texte.storages_arr.edit.active')}}
@if ($errors->has('active'))
{{ $errors->first('active') }}
@endif
{{__('texte.storages_arr.edit.change')}}
@endsection