@extends('vehicles.profile.includes.main') @section('navigation') @stop @section('profile')
{{--

Vehicle Permits--}} {{--
--}} {{----}} {{----}} {{--
--}} {{--

--}} {{----}} @foreach($vehiclePermits as $permit) {{----}} @endforeach
Name Start Date Expiring DateCostStatus Description
{{$permit->permitName}} @if(strtotime($permit->last_expire_date) > strtotime(Carbon\Carbon::now())) {{$permit->last_expire_date}} @else {{\Carbon\Carbon::parse($permit->start_date)->toFormattedDateString()}} @endif {{\Carbon\Carbon::parse($permit->expire_date)->toFormattedDateString()}}{{$permit->cost}}{{$permit->status}} {{$permit->description}}
{{--@include('vehicles.profile.includes.permitModel')--}} @stop