@extends('admin.nav')
@section('contents')
{{--
--}}
Date Paiement | --}}Structure | Telephone | {{--Type Local | --}}Date debut | date Fin | Nombre jours restant | prix unitaire | forfait | Motant Total | Actions | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$per->datePaiment}} | --}} @foreach ($clients as $c) @if ($c->id === $per->client_id){{$c->structure}} | {{$c->telephone}} | @endif @endforeach {{--{{$per->local}} | --}}{{$per->debut}} | {{$per->dateFin}} | {{floor(strtotime($per->dateFin) - strtotime(date('Y-m-d')))/(86400)}} | @foreach ($forfaits as $f) @if ($f->id == $per->forfait){{$f->tarif}} | {{$per->duree}}* {{$f->unite}} | {{$per->duree*$f->tarif}} fcfa | @endif @endforeachplus | @emptyCdd vide |