@extends('admin.layouts.main') @extends('admin.layouts.top_bar') @section('page_title', 'Invoices') @section('header_styles') @endsection @section('content')
{{ number_format($totalSalesThisMonth, 2) }} AED
Total Sales this Month
{{ number_format($totalSalesTillNow, 2) }} AED
Total Sales till Now

Invoices

@forelse($invoices as $invoice) @empty @endforelse
ID Total Bill Discount Final Bill Customer Name Customer Phone Created At Action
{{ $invoice->id }} {{ $invoice->total_bill }} {{ $invoice->discount }} {{ $invoice->final_bill }} {{ $invoice->customer_name ? $invoice->customer_name : 'N/A' }} {{ $invoice->customer_phone ? $invoice->customer_phone : 'N/A' }} {{ $invoice->created_at }}
No invoices available
@endsection @section('footer_scripts') @endsection