@extends('tenant.layouts.main') @section('title') Add Invoice @endsection @section('content')

View Maintenance History

@foreach ($myPayments as $myPayment) @endforeach
Issues Date Time Location Urgency Status

{{$myPayment->issue_title}}

{{ Str::limit($myPayment->description, 15, '...') }}

{{ \Carbon\Carbon::parse($myPayment->date)->format('d-m-Y') }}

{{\Carbon\Carbon::parse($myPayment->created_at)->format('h:i A')}}

{{$myPayment->location}} {{$myPayment->urgency_level}} @if ($myPayment->status == 'pending' || $myPayment->status == 'Waiting')
{{ $myPayment->status }}
@endif @if ($myPayment->status == 'Complete')
{{ $myPayment->status }}
@endif @if ($myPayment->status == 'In Progress')
{{ $myPayment->status }}
@endif
@endsection