@if($tipo == 'capacitacion')
| Nombre | @foreach($data as $d)
|---|
|
{{$d->calificacion}}
{{$d->nombre}} @if(diferencia(date("Y-m-d",strtotime($d->fecha_termino.' + 4 year')),date("Y-m-d"))<=60 && diferencia(date("Y-m-d",strtotime($d->fecha_termino.' + 4 year')),date("Y-m-d")) >30) Valido - {{date("d/m/Y",strtotime($d->fecha_termino))}} Quedan 1461 días para Caducar @elseif(diferencia(date("Y-m-d",strtotime($d->fecha_termino.' + 4 year')),date("Y-m-d"))<=30) Valido - {{date("d/m/Y",strtotime($d->fecha_termino))}} Quedan 1461 días para Caducar @else Valido - {{date("d/m/Y",strtotime($d->fecha_termino))}} @endif |
| Nombre | @foreach($data as $d)
|---|
| {{$d->nombre}} |