@php use Carbon\Carbon; @endphp @extends('admin.layouts.dashboard') @section('content')

Dashboard

Total Appointments
{{ $total_order }}
Today's Confirmed Appointments
{{ $today_appointment }}
{{--
Cancel Orders
{{ $total_Cancel_orders }}
--}} {{--
Total Maintenance
{{ $total }}
--}}
Total | Profit
RS.0
18% increase
Total | Item Sale
0
10% increase
{{--
Total Amount of Rent
Rent Paid Status
Total Paid

All Paid Amount

$1200.00
Total Unpaid

All Paid Amount

$100.00
--}}
{{--
Rent Status
--}}
Booking Details
@forelse($appointments as $appointment) @empty

No User Found

@endforelse
Appointment ID Appointment Time Name Email Phone
{{ $appointment->appointment_id }} {{ $appointment->date }} {{ $appointment->time }} {{ $appointment->name }} {{ $appointment->email }} {{ $appointment->phone ?? 'NA' }}
{{--
Cancellation
@if(@$cancell_orders) @foreach($cancell_orders as $order) @endforeach @else @endif
Order No. Customer Email Phone
{{ $order->order_no}} {{ $order->shipping->email }} {{ $order->shipping->phone}}
No User Found
--}}
{{--

Manage Orders

Paid, Unpaid and Buy Status
@if (!empty($orders)) @foreach ($orders as $order) @endforeach @else

No User Found

@endif
Order No Order Date Email / Mobile Items Amount Status
{{ $order->order_no }} {{ date('d/m/Y', strtotime($order->created_at)) }} {{ $order->shipping->email }} ({{ $order->shipping->phone }}) {{ $order->items }} {{ $order->amount }} Unpaid
--}}
{{--
Return
@if (!empty($return_request)) @foreach ($return_request as $request) @endforeach @endif
User Item QTY Days Comment
{{ substr($request->userid->name, 0, 5) }} {{ substr($request->orderitem->name, 0, 5) }} {{ substr($request->orderitem->qty, 0, 5) }} {{ substr($request->return_days, 0, 5) }} {{ substr($request->comment, 0, 5) }}
--}}
@endsection