@extends('main.main_back') @php $employee_id = 0; if(isset($item)){ $value_id = $item->id; $employee_id = $item->id; $user_id = $item->user_id; $matricule = $item->em_matricule; $gender = $item->em_gender; $name = $item->em_name; $phone = $item->em_phone; $address = $item->em_address; $birth = $item->em_birth; $birth_place = $item->em_place_birth; $salary = $item->em_salary; $no_account = $item->no_account_bank; $key_account = $item->key_account_bank; $doc = $item->em_doc; $num_doc = $item->em_num_doc; $status = $item->em_status; $agency = isset($item->agency) ? $item->agency->ag_name : ""; $admin = nameUser($item->user_id) ?? ""; $post = isset($item->post) ? $item->post->po_name : "" ; $date_reg = $item->created_at; $image_doc = $item->em_image_doc; $doc_date_exp = $item->em_doc_date_exp; $libelle = isset($item->folder) ? $item->folder->label : null; $file = isset($item->folder) ? $item->folder->file : null; $documents = isset($item->documents) ? $item->documents : []; $loans = isset($item->loans) ? $item->loans : []; $salariesPay = isset($item->salariesPay) ? $item->salariesPay : []; $role_id = roleId($user_id); $role = $item->user->role ?? null; $no_intern = $item->em_no_intern; $no_nui = $item->em_nui; $no_cnps = $item->em_no_cnps; $service = $item->em_service; $ration = $item->em_ration; } @endphp @section('style-up') @endsection @section('title') Rechercher un Employé @endsection @section('pagination') Rechercher un Employé @endsection @php $trajet_price = 0; $bus_place = 0; @endphp @section('content')
| No | code | Mode | Montant | Mois | Admin | Date Reg | Actions |
|---|---|---|---|---|---|---|---|
| {{ $key+1 }} | {{ $code }} | {{ $mode }} | {{ convert_amount_v2($pay_days) }} | {{ $month_name_fr }} / {{ $year }} | {{ $admin }} | {{ $date_reg }} |
| No | Raison | Montant | Reste | Tranche | Lien au salaire ? | Remboursé ? | Admin | Date Reg | Actions |
|---|---|---|---|---|---|---|---|---|---|
| {{ $key+1 }} | {{ $reason }} | {{ convert_amount_v2($amount) }} | {{ convert_amount_v2($balance) }} | {{ $installment }} | @if ($status_salary == 1) Oui @else Non @endif | @if($status_salary == 0) @if ($status == 1) Oui @else Non @endif @else Ras @endif | {{ $admin }} | {{ $date_reg }} |
| No | Libelle | Documents | Admin | Date Reg | Actions |
|---|---|---|---|---|---|
| {{ $key+1 }} | {{ $label }} | document | {{ $admin }} | {{ $date_reg }} | Supprimer |