@include('template.Head')
@include('template.SideBar')
@include('template.Header')
@include('template.Message')
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{--

Lot AZ 40 KIA Anosizato Ouest

Antananarivo 102

+261 33 64 600 31

NIF: 3004272333

STAT: 47521 11 2022 0 03641

{{ $detailClient->nom }}

{{ $detailClient->adresse }}

REF : {{ $detailClient->immatriculation }}

{{ $detailClient->modele }} {{ $detailClient->marque }}

Date de début : {{ FormatDate::formatDateTime($detail->datedebut) }}

Date de clôture : {{ FormatDate::formatDateTime($detail->datefin) }}

--}}

Main d'œuvres:

@foreach ($detailService as $rows) @if ($detail->etat_reparation == 0 || $detail->etat_reparation == 1 || ($detail->etat_reparation == 2 && session('fonction_admin') == 1)) @endforeach
Désignation UNITÉ QTE PU MONTANT Action
{{ $rows->libelle }} {{ $rows->unite }} {{ number_format($rows->quantite, 2, ',', ' ') }} {{ number_format($rows->montant_service, 2, ',', ' ') }} {{ number_format($rows->total, 2, ',', ' ') }} @endif
Total {{ number_format($totalService, 2, ',', ' ') }}
@if ($detail->etat_reparation == 0 || $detail->etat_reparation == 1 || ($detail->etat_reparation == 2 && session('fonction_admin') == 1)) @endif

Pièces et Consommables:

@foreach ($detailLogistique as $rows) @if ($detail->etat_reparation == 0 || $detail->etat_reparation == 1 || ($detail->etat_reparation == 2 && session('fonction_admin') == 1)) @endif @endforeach
Désignation UNITÉ QTE PU MONTANT Action
{{ $rows->libelle }} {{ $rows->type_logistique }} {{ $rows->quantite }} {{ number_format($rows->prix_unitaire, 2, ',', ' ') }} {{ number_format($rows->total, 2, ',', ' ') }}
Total {{ number_format($totalProduit, 2, ',', ' ') }}
@if ($detail->etat_reparation == 0 || $detail->etat_reparation == 1 || ($detail->etat_reparation == 2 && session('fonction_admin') == 1)) @endif

Dépenses:

@foreach ($detailDepense as $rows) @endforeach
Désignation Type Montant
{{ $rows->libelle }} {{ $rows->type_depense }} {{ number_format($rows->total, 2, ',', ' ') }}
Total {{ number_format($totalDepense, 2, ',', ' ') }}

Montant Total du Devis: {{ number_format($total, 2, ',', ' ') }} Ariary

@csrf
@csrf
@if ($is_proformat) @if ($estValid == 0)
@csrf
@else
@csrf
@endif @else
@csrf
@endif @if ($total != 0) @if ($detail->etat_reparation != 0) @if ($detail->etat_reparation == 1)
@csrf
@elseif($detail->etat_reparation == 2)
@csrf
@endif @else @endif @endif
@include('template.Footer')