@extends('layouts.full') @section('title') @if (isset($item->id) && !empty($item->id)) {{ trans('labels.LbTitleHealthcareworkers3') }} @else {{ trans('labels.LbTitleHealthcareworkers2') }} @endif @endsection @section('content-main')
@csrf
{{-- COORDONNEE --}}
@component('components.cards.card-form', ['title' => trans('labels.LbSubtitleHealthcareworkers1'),'h' => 'h2','contain' => true])
@component('components.forms.radiochecks', [ 'name' => 'status', 'required' => true, 'label' => trans('bdd.healthcareworkers.status.s'), 'type' => 'radio', 'value' => $item->status, 'datas' => $status, 'inline' => true, ]) @endcomponent
@component('components.forms.radiochecks', [ 'name' => 'tester', 'required' => true, 'label' => trans('bdd.healthcareworkers.tester.s'), 'type' => 'radio', 'value' => $item->tester, 'datas' => trans('bdd.healthcareworkers.tester.values'), 'inline' => true, ]) @endcomponent
@component('components.forms.radiochecks', [ 'name' => 'pilot', 'required' => true, 'label' => trans('bdd.healthcareworkers.pilot.s'), 'type' => 'radio', 'value' => $item->pilot, 'datas' => trans('bdd.healthcareworkers.pilot.values'), 'inline' => true, ]) @endcomponent
@endcomponent
{{-- COORDONNEE --}}
@component('components.cards.card-form', ['title' => trans('labels.LbSubtitleHealthcareworkers2'),'h' => 'h2','contain' => true])
@component('components.forms.input', [ 'name' => 'siret', 'label' => trans('bdd.healthcareworkers.siret.s'), 'value' => $item->siret, 'required' => false, 'type' => 'text', ]) @endcomponent
@component('components.forms.select', [ 'name' => 'speciality_id', 'required' => true, 'label' => trans('bdd.healthcareworkers.speciality_id.s'), 'value' => $item->speciality_id, 'datas' => $specialities, ]) @endcomponent
@component('components.forms.input', [ 'name' => 'firstname', 'required' => true, 'label' => trans('bdd.healthcareworkers.firstname.s'), 'value' => $item->firstname, 'type' => 'text', ]) @endcomponent
@component('components.forms.input', [ 'name' => 'lastname', 'required' => true, 'label' => trans('bdd.healthcareworkers.lastname.s'), 'value' => $item->lastname, 'type' => 'text', ]) @endcomponent
@component('components.forms.input', [ 'name' => 'email', 'required' => true, 'label' => trans('bdd.healthcareworkers.email.s'), 'value' => $item->email, 'type' => 'email', ]) @endcomponent
@component('components.forms.input', [ 'name' => 'phone', 'label' => trans('bdd.healthcareworkers.phone.s'), 'value' => $item->phone, 'type' => 'text', ]) @endcomponent
@endcomponent
@component('components.forms.submit', [ 'id' => $item->id, 'back' => route('childhoodworkers_index'), 'color' => 'primary', 'button' => trans('buttons.BtBasicSave'), ]) @endcomponent
@endsection