@if($my_article->id && $duplicate)
@elseif($my_article->id ) @method('PATCH') @else @endif @csrf
{{ __('reference') }}
*
@error('data.reference')
{{ $message }}
@enderror @if($existRef)
{{ $existRef }}
@endif
{{ __('reference_origine') }} {{--
*
--}}
@error('data.reference_origine')
{{ $message }}
@enderror @if($existRefOrigin)
{{ $existRefOrigin }}
@endif
{{ __('articles.type') }}
*
@foreach(App\Helpers\ArticleList::TYPE as $key => $type)
type)) selected @endif >{{ $type }}
@endforeach
@error('data.type')
{{ $message }}
@enderror
{{ __('Nature') }}
@foreach($natures as $value)
id == old('nature_id', $my_article->nature_id ?? null)) selected @endif >{{ $value->libelle }}
@endforeach
@if ($errors->has('data.nature_id'))
{{ $errors->first('data.nature_id') }}
@endif
{{ __('designation') }}
*
@error('data.designation')
{{ $message }}
@enderror
{{ __('Marge Tolérance') . ' (%)' }}
*
@error('data.tolerance')
{{ $message }}
@enderror
{{ __('Qté stock') }}
{{ __('Unité stock') }}
*
@foreach(App\Helpers\ArticleList::UNITESTOCK as $key => $value)
unite_stock)) selected @endif >{{ $value }}
@endforeach
@error('data.unite_stock')
{{ $message }}
@enderror
{{ __('Min stock') }}
@if ($errors->has('min_stock'))
{{ $errors->first('min_stock') }}
@endif
{{ __('Nomenclature') }}
{{ __('Description') }}
@if ($errors->has('decription'))
{{ $errors->first('decription') }}
@endif
{{ __('Delai appro jours') }}
@if ($errors->has('delai_appro_jours'))
{{ $errors->first('delai_appro_jours') }}
@endif
{{ __('Adressage') }}
@if ($errors->has('data.adressage'))
{{ $errors->first('data.adressage') }}
@endif
{{ __('Pièce Jointe') }}
@error('files.*')
{{ $message }}
@enderror
{{-- Start costum fields --}}
@if($nature AND $nature->pmp)
{{ __('Pmp') }}
@if ($errors->has('pmp'))
{{ $errors->first('pmp') }}
@endif
@endif @if($nature AND $nature->prix_achat)
{{ __('Prix achat') }}
@if ($errors->has('prix_achat'))
{{ $errors->first('prix_achat') }}
@endif
@endif @if($nature AND $nature->num_lame)
{{ __('N° lame') }}
@if ($errors->has('num_lame'))
{{ $errors->first('num_lame') }}
@endif
@endif @if($nature AND $nature->type_lame)
{{ __('Type lame') }}
@foreach($typelames as $value)
id == old('type_lame', $my_article->type_lame)) selected @endif >{{ $value->libelle }}
@endforeach
@if ($errors->has('data.type_lame'))
{{ $errors->first('data.type_lame') }}
@endif
@endif @if($nature AND $nature->position_id)
{{ __('Position') }}
@foreach($positions as $position)
id == old('position_id', $my_article->position->liblle ?? null)) selected @endif >{{ $position->libelle }}
@endforeach
@if ($errors->has('position_id'))
{{ $errors->first('position_id') }}
@endif
@endif @if($nature AND $nature->section )
{{ __('Section') }}
@endif @if($nature AND $nature->accessoires)
{{ __('Accessoires') }}
@foreach(App\Helpers\ArticleList::ACCESSOIRES as $key => $value)
accessoires)) selected @endif >{{ $value }}
@endforeach
@if ($errors->has('accessoires'))
{{ $errors->first('accessoires') }}
@endif
@endif @if($nature AND $nature->origin_id)
{{ __('Origine') }}
@foreach($origins as $origin)
id == old('origin_id', $my_article->origin->libelle ?? null)) selected @endif >{{ $origin->libelle }}
@endforeach
@if ($errors->has('origin_id'))
{{ $errors->first('origin_id') }}
@endif
@endif @if($nature AND $nature->chant)
{{ __('Chant') }}
@if ($errors->has('chant'))
{{ $errors->first('chant') }}
@endif
@endif @if($nature AND $nature->nuance)
{{ __('Nuance') }}
@endif @if($nature AND $nature->fournisseur_1)
{{ __('Fournisseur 1') }}
@endif @if($nature AND $nature->fournisseur_2)
{{ __('Fournisseur 2') }}
@endif @if($nature AND $nature->fournisseur_3)
{{ __('Fournisseur 3') }}
@endif @if($nature AND $nature->largeur)
{{ __('Largeur') }}
@endif @if($nature AND $nature->epaisseur)
{{ __('Epaisseur') }}
@endif @if($nature AND $nature->diametre)
{{ __('Diamètre') }}
@endif @if($nature AND $nature->diametre_exterieur)
{{ __('Diamètre exterieur') }}
@endif @if($nature AND $nature->diametre_interieur )
{{ __('Diamètre interieur') }}
@endif
@if($nature AND $nature->marque_id)
{{ __('Marque') }}
@foreach($marques as $marque)
id == old('marque_id', $my_article->marque_id)) selected @endif >{{ $marque->libelle }}
@endforeach
@if ($errors->has('marque_id'))
{{ $errors->first('marque') }}
@endif
Ajouter
@foreach ($vehicules as $index => $vehicule)
{{ __('Véhicule') }}
@foreach($modeles as $modele) @if( !in_array($modele->id, $ids) OR $vehicules[$index]['modele_id'] == $modele->id )
id == old('modele_id', $my_article->modele_id)) selected @endif >{{ $modele->libelle }}
@endif @endforeach
{{-- @if ($errors->has('modele_id'))
{{ $errors->first('modele') }}
@endif --}}
{{ __('Année(s)') }}
@for ($i = 1990; $i <= date('Y') + 1; $i++)
{{ $i }}
@endfor
{{-- @if ($errors->has('marque_id'))
{{ $errors->first('marque') }}
@endif --}}
Supprimer
{{-- Confirmation modal --}}
{{ __('Confirmation deleting') }}
×
{{__("Are you sure you want to delete this ligne?")}}
@endforeach @endif
{{-- End costum fields --}}
@if($my_article->id && $duplicate) {{ __('Duplicate') }} @elseif($my_article->id) {{ __('Save') }} @else {{ __('Create') }} @endif
{{ __('Cancel') }}