{{-- Knowing others is intelligence; knowing yourself is true wisdom. --}} @if (auth()->user()->id == 1)
Today's
₹{{\App\Models\expenses::whereDate('created_at', Carbon\Carbon::today())->sum('total')}}
Current Month
₹{{\App\Models\expenses::whereMonth('created_at', Carbon\Carbon::now()->month)->sum('total')}}
Total
₹{{\App\Models\expenses::sum('total')}}
@endif

Expenses

@foreach(array_reverse($exp) as $key => $e) @foreach($e as $a ) @endforeach @endforeach
Name Qyt Rate Note Total Action

{{$key}}

@foreach($e as $y) @endforeach ₹{{$v}}

{{$a->name}}

{{$a->qyt}}

{{$a->rate}}

{{$a->note}}

{{$a->total}}
Delete Do You want to Delete this Invoice amounting
{{$exp_total}}
@if($notemodal == true) Note
{{$selectednote}}
@endif @if($modal == true) Add Expense
TOTAL : {{$total}}
@endif @push('src') @endpush