@extends('layouts.master') @section('content')
@csrf

Details du Véhicule: {{$auto->num_immatriculation}}

@if(Session::has('message'))

{{Session::get('message')}}

@endif Ajouter un vehicule @if($auto->cat_veh==1) Envoyer au Garage @endif
{{ csrf_field() }}
@if ($errors->has('num_carte_rose')) {{ $errors->first('num_carte_rose') }} @endif
@if ($errors->has('num_immatriculation')) {{ $errors->first('num_immatriculation') }} @endif
@if ($errors->has('marque')) {{ $errors->first('marque') }} @endif
@if ($errors->has('modele')) {{ $errors->first('modele') }} @endif
@if ($errors->has('categorie_plaque')) {{ $errors->first('categorie_plaque') }} @endif
@if ($errors->has('couleur')) {{ $errors->first('couleur') }} @endif @if ($errors->has('cat_vehi')) {{ $errors->first('cat_vehi') }} @endif
@if ($errors->has('carburant')) {{ $errors->first('carburant') }} @endif @if ($errors->has('nombre_place')) {{ $errors->first('nombre_place') }} @endif @if(Session::has('error'))
{{Session::get('error')}}
@endif @if ($errors->has('usage')) {{ $errors->first('usage') }} @endif

La carte rose:

{{ csrf_field() }}
@if ($errors->has('image')) {{ $errors->first('image') }} @endif

Format: jpeg, jpg, png, pdf.

Nom et Prenom Identification fiscal CNI/Passport province Categorie proprietaire
{{$proprietaire->name}} {{$proprietaire->identification_fiscal}} {{$proprietaire->cni_passport}} {{$proprietaire->nom_province}} {{$proprietaire->categorie_proprietaire}}
@if($auto->benef_actif==null) @endif
@foreach($beneficiaire as $beneficiaire) @endforeach
Nom et Prenom Matricule CNI/Passport Date delivrance Date Fin Action
{{$beneficiaire->name}} {{$beneficiaire->matricule}} {{$beneficiaire->cni_passport}} {{$beneficiaire->date_delivrance}} {{$beneficiaire->date_fin}} @if($beneficiaire->date_fin==null) @endif
@foreach($veh_assurances as $ass) @endforeach
Numero assurance Numero police Date debut Date fin Montant Type assurance Assurance Action
{{$ass->num_assurance}} {{$ass->num_police}} {{$ass->date_debut}} {{$ass->date_fin}} {{$ass->montant}} {{$ass->nom_type}} {{$ass->assurance}}
@foreach($control as $key=>$co) @endforeach
DATE DE PAIEMENT MONTANT (FBu) DATE D'EXPIRATION
{{++$key}} {{ date('d-m-Y', strtotime($co->date_debut))}} {{number_format($co->montant)}} {{ date('d-m-Y', strtotime($co->date_fin))}}
@foreach($amandes as $key=>$am) @endforeach
No Type d'amande Montant Action
{{++$key}} {{$am->type_amande}} {{$am->montant_amande}}
@foreach($reparations as $key=>$rep) @endforeach
No Type de reparation Date Montant Action
{{++$key}} {{$rep->type_repara}} {{$rep->date_repara}} {{$rep->montant_repara}}
@foreach($pneus as $key=>$pn) @endforeach
No Type de pneus numero de serie Date debut Date fin Motif Action
{{++$key}} {{$pn->type_pneus}} {{$pn->num_serie}} {{$pn->date_debut}} {{$pn->date_fin}} {{$pn->motif_pneus}}
@if($auto->chauff_actif==null) @endif
@foreach($chauff_vehicule as $ch) @endforeach
Nom et Prenom Matricule Permis CNI/Passport Date delivrance Date Fin Action
{{$ch->name}} {{$ch->matricule}} {{$ch->num_permis}} {{$ch->cni_passport}} {{$ch->date_delivrance}} {{$ch->date_fin}} @if($ch->date_fin==null) @endif
@if($auto->aide_chauff_actif==null) @endif
@foreach($aide_chauff_vehicule as $ch) @endforeach
Nom et Prenom Matricule Permis CNI/Passport Date delivrance Date Fin Action
{{$ch->name}} {{$ch->matricule}} {{$ch->num_permis}} {{$ch->cni_passport}} {{$ch->date_delivrance}} {{$ch->date_fin}} @if($ch->date_fin==null) @endif
@if($auto->charroi_actif==null) @endif
@foreach($charroi_vehicule as $ch) @endforeach
Nom et Prenom Matricule CNI/Passport Date d'affectation Date Fin Action
{{$ch->name}} {{$ch->matricule}} {{$ch->cni_passport}} {{$ch->date_delivrance}} {{$ch->date_fin}} @if($ch->date_fin==null) @endif
@foreach($redevances as $redev) @endforeach
Date debut Date Fin Montant Action
{{$redev->date_debut_redev}} {{$redev->date_fin_redev}} {{$redev->montant_redev}}
@stop @section('page-script') @stop