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