@extends('layouts.website.website') @section('content')
{{ Carbon\Carbon::now()->month }}, {{ Carbon\Carbon::now()->year }} Pharmacy Expense Report
@foreach (App\Expense::where('status',1)->latest()->get() as $item) @endforeach
Date Amount
{{ $item->created_at->format('D d-m-Y') }} $ {{ number_format($item->amount) }}
Total $ {{ number_format(App\Expense::where('status',1)->latest()->sum('amount')) }}
@endsection