@extends('layouts.app') @section('content')
Modifier un commerçant
@include('components.alert_success') @include('components.alert_error')
{{ csrf_field() }} {{ method_field('PUT') }}
@if ($errors->has('subname'))
{{ $errors->first('subname') }}
@endif
@if ($errors->has('firstname'))
{{ $errors->first('firstname') }}
@endif
@if ($errors->has('lastname'))
{{ $errors->first('lastname') }}
@endif
@if ($errors->has('phone'))
{{ $errors->first('phone') }}
@endif
@if ($errors->has('address'))
{{ $errors->first('address') }}
@endif
@if ($errors->has('postcode'))
{{ $errors->first('postcode') }}
@endif
@if ($errors->has('city'))
{{ $errors->first('city') }}
@endif
@if ($errors->has('company'))
{{ $errors->first('company') }}
@endif
{{ $errors->first('business_type_id') }}
{{ $errors->first('manager_id') }}
@if(Auth::user()->hasRole('admin')) @if(!$partner->has_euro_credit)
@if ($errors->has('sms_prosp'))
{{ $errors->first('sms_prosp') }}
@endif
@if ($errors->has('sms_fid'))
{{ $errors->first('sms_fid') }}
@endif
@else
@if ($errors->has('credits'))
{{ $errors->first('credits') }}
@endif
@endif @endif
location_whitelist_type === 'postcode') ? 'checked' : '' }}>
location_whitelist_type === 'insee') ? 'checked' : '' }}>
location_whitelist_type === 'iris') ? 'checked' : '' }}>
@if($partner->has_user_validation)
is_validated ?? '') ? 'checked' : '' }}>
@endif @if(Auth::user()->hasRole('admin'))
is_extranet ?? '') ? 'checked' : '' }}>
@endif
@endsection