@extends('front.layouts.main') @section('content')
@foreach($data as $key => $item) @endforeach
SN Date Time Customer Name Phone Number Total Amount View
{{$key + 1}} {{Carbon\Carbon::parse($item->created_at)->format('d/m/Y')}} {{Carbon\Carbon::parse($item->created_at)->addHours(5)->format('H:s')}} {{$item->customer->name}} {{$item->customer->phone}} {{$item->total + $item->due}} Invoice
@endsection