@extends('layouts.backend.app') @section("content")
{{Session::get('success')}}
# | N°Commande | Nom du client | Contact | Debut | Durée (Mois) | Echéance | Status | Actions |
---|---|---|---|---|---|---|---|---|
{{++$key}} | {{$c->number_n}} | {{$c->lastname}} {{$c->firstname}} | {{$c->contact}} | {{date('d/m/Y', strtotime($c->releasedate))}} | {{$c->nbmois}} | {{ date('d/m/Y', strtotime($c->releasedate . "+$c->nbmois months -1 days")). " 23:59:59" }} | @if( (strtotime($c->releasedate . "+$c->nbmois months")) < (strtotime(date('Y-m-d'))) ) @else @endif |
# | N°Commande | Nom du client | Debut | Echéance | Status | Actions |
---|---|---|---|---|---|---|
{{++$key}} | {{$c->number_n}} | {{$c->lastname}} {{$c->firstname}} : {{$c->contact}} : {{getCountryById($c->nationality_id)}} |
{{date('d/m/Y', strtotime($c->departure_date))}} | {{date('d/m/Y', strtotime($c->arrival_date))}} | @if( (strtotime($c->arrival_date)) < (strtotime(date('Y-m-d'))) ) @else @endif |