@extends('layouts.admin') @section('content')

Detail demande

Detail demande

@if ($errors->any())
Alert!
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
Info demande


Info chargement

@php $correct_format_date_ramassage = dateEntoFr($demande->date_ramassage); @endphp
@php $correct_format_date_livraison = dateEntoFr($demande->date_livraison); @endphp

Info colis

{!! $grid_demandes_detail !!}

Info destinataire

@if($demande->type_demande == 1)
@if(strtotime('now') - (strtotime($demande->date_demande) + 600) < 0) @else @endif
@endif @if($demande->type_demande == 3)
@if(strtotime('now') <= strtotime($demande->date_ramassage.' -1 Day')) @else @endif
@endif @if($demande->type_demande == 2)
@if(strtotime('now') <= strtotime($demande->date_ramassage.' -1 Day')) @else @endif
@endif
@endsection