@extends('backEnd.layouts.master')
@section('title','Dashboard')
@section('css')
@endsection
@section('content')
Id |
Invoice |
Amount |
Customer |
Status |
@foreach($latest_order as $order)
{{$loop->iteration}} |
|
{{$order->invoice_id}}
|
{{$order->amount}}
|
{{$order->customer?$order->customer->name:''}}
|
{{$order->order_status}}
|
@endforeach
Id |
Name |
Phone |
Date |
Status |
@foreach($latest_customer as $customer)
{{$loop->iteration}}
|
{{$customer->name}}
|
{{$customer->phone}}
|
{{$customer->created_at->format('d-m-Y')}}
|
{{$customer->status}}
|
@endforeach
@endsection
@section('script')
@endsection