@extends('layouts.app',[ 'class' => '', 'folderActive' => '', 'elementActive' => '' ]) @section('head_supplement') @endsection @section('content')
{{ $user->user_firstname }} {{ $user->user_lastname }}
@if (auth()->user()->client_id == 0 || !isset(auth()->user()->client_id))
@method('put') @csrf {{--
--}}{{--
--}}{{--
user_activation == 1 ? 'checked' : '' }}>
--}}

Photo de profil

avatar

Éditer les informations

@foreach (config('types.type_rapport') as $key => $value)
@endforeach
user_activation == 1 ? 'checked' : '' }}>
{{--
Statut et fonction
@method('put') @csrf
--}} @if (auth()->user()->user_type == 1 || (auth()->user()->user_type == 2 && (auth()->user()->client_id == 0 || !isset(auth()->user()->client_id))))
{{--
Clients
@method('put') @csrf
see_client) && $user->see_client == 1 || $user['user_type'] <= 3 ? 'checked' : ''}}> see_client) || $user->see_client == -1 ) && $user['user_type'] > 3 ? 'checked' : ''}}>
create_client) && $user->create_client == 1 || $user['user_type'] <= 3 ? 'checked' : ''}}> create_client) || $user->create_client == -1 ) && $user['user_type'] > 3 ? 'checked' : ''}}>
create_contrat_client) && $user->create_contrat_client == 1 || ($user->type_user <= 3) ? 'checked' : ''}}> create_contrat_client) || $user->create_contrat_client == -1) && $user['user_type'] > 3 ? 'checked' : ''}}>
RDV
@method('put') @csrf
see_rdv) && $user->see_rdv == 1 || $user['user_type'] <= 3 ? 'checked' : ''}}> see_rdv) || $user->see_rdv == -1) && $user['user_type'] > 3 ? 'checked' : ''}}>
create_rdv) && $user->create_rdv == 1 || $user['user_type'] <= 3 ? 'checked' : ''}}> create_rdv) || $user->create_rdv == -1) && $user['user_type'] > 3 ? 'checked' : ''}}>
--}}
Rapports
@method('put') @csrf
see_rapports) && $user->see_rapports == 1) || $user['user_type'] <= 3 ? 'checked' : '' }}> see_rapports) || $user->see_rapports == -1) && $user['user_type'] > 3 ? 'checked' : '' }}>
Gérer la liste des inspecteurs à controler
validate_rapports) && $user->validate_rapports == 1) || $user['user_type'] <= 3? 'checked': '' }}> validate_rapports) || $user->see_rapports == -1) && $user['user_type'] > 3 ? 'checked' : '' }}>
modify_rapports) && $user->modify_rapports == 1) || $user['user_type'] <= 3 ? 'checked' : '' }}> modify_rapports) || $user->modify_rapports == -1) && $user['user_type'] > 3 ? 'checked' : '' }}>
delete_rapports) && $user->delete_rapports == 1) || $user['user_type'] <= 3 ? 'checked' : '' }}> modify_rapports) || $user->delete_rapports == -1) &&$user['user_type'] &&$user['user_type'] > 3? 'checked': '' }}>
@if (Auth::user()->client_id == 0)
@include('dashboard.taches.details')
@include('dashboard.taches.archive')
@endif
{{--
Utilisateurs
@method('put') @csrf
see_users) && $user->see_users == 1 || $user['user_type'] <= 3 ? 'checked' : ''}}> see_users) || $user->see_users == -1) && $user['user_type'] > 3 ? 'checked' : ''}}>
create_user) && $user->create_user == 1 || ($user['user_type'] <= 3) ? 'checked' : ''}}> create_user) || $user->create_user == -1) && $user['user_type'] > 3 ? 'checked' : ''}}>
modify_user) && $user->modify_user == 1 || ($user['user_type'] <= 3) ? 'checked' : ''}}> modify_user) || $user->modify_user == -1) && $user['user_type'] > 3 ? 'checked' : ''}}>
Opérations
@method('put') @csrf
see_ope) && $user->see_ope == 1 || ($user['user_type'] <= 3) ? 'checked' : ''}}> see_ope) || $user->see_ope == -1) && $user['user_type'] > 3 ? 'checked' : ''}}>
create_ope) && $user->create_ope == 1 || ($user['user_type'] <= 3) ? 'checked' : ''}}> create_ope) || $user->create_ope == -1) && $user['user_type'] > 3 ? 'checked' : ''}}>
modify_ope) && $user->modify_ope == 1 || ($user['user_type'] <= 3) ? 'checked' : ''}}> modify_ope) || $user->modify_ope == -1) && $user['user_type'] > 3 ? 'checked' : ''}}>
edit_synthese) && $user->edit_synthese == 1 || ($user['user_type'] <= 3) ? 'checked' : ''}}> edit_synthese) || $user->edit_synthese == -1) && $user['user_type'] > 3 ? 'checked' : ''}}>
Prospection
@method('put') @csrf
see_prospection) && $user->see_prospection == 1 || ($user['user_type'] <= 3) ? 'checked' : ''}}> see_prospection) || $user->see_prospection == -1) && $user['user_type'] > 3 ? 'checked' : ''}}>
see_prospection) && $user->see_prospection == 1 || ($user['user_type'] <= 3) ? 'checked' : ''}}> see_prospects) || $user->see_prospects == -1) && $user['user_type'] > 3 ? 'checked' : ''}}>
Facturation
@method('put') @csrf
see_factures) && $user->see_factures == 1 || ($user['user_type'] <= 3) ? 'checked' : ''}}> see_factures) || $user->see_factures == -1) && $user['user_type'] > 3 ? 'checked' : ''}}>
Gestion documentaire
@method('put') @csrf
see_ged) && $user->see_ged == 1 || ($user['user_type'] <= 3) ? 'checked' : ''}}> see_ged) || $user->see_ged == -1) && $user['user_type'] > 3 ? 'checked' : ''}}>
Outil de suivi de production
@method('put') @csrf
see_osp) && $user->see_osp == 1 || ($user['user_type'] <= 3) ? 'checked' : ''}}> see_osp) || $user->see_osp == -1) && $user['user_type'] > 3 ? 'checked' : ''}}>
Données
@method('put') @csrf
--}} @endif @if ($user['user_type'] == 5 || $user['user_type'] == 4 || $user['user_type'] == 6)
@method('put') @csrf @if ($user->user_type == 5)
Superviseur
@endif @if (in_array($user->user_type, [4, 5]))
Départements d'inspection (séparer chaque département par un ;)
jours de disponibilité
@for ($i = 1; $i <= 7; $i++)
{{ config('various.jours.' . $i) }} @for ($hr = 8; $hr <= 20; $hr += 1)
@endfor
@endfor
congés
{{--
Du au
--}}
Absences
{{--
Du au
--}}
@endif
@endif @endif @endsection