@extends('layouts.admin') @section('content')
{{-- --}}

{{$widgets['c_sale']}}

Month Sale
Last Month : {{$widgets['l_sale']}}
{{-- --}}

{{number_format($widgets['sales'],2)}}

Total Sales
{{-- --}}

{{number_format($widgets['deposits'],2)}}

Total Deposit
{{--

{{number_format($widgets['sales'],2)}}

Total Sales

{{number_format($widgets['deposits'],2)}}

Total Deposit

{{$widgets['fueltypes']}}

Fuel Types
--}}

Total Revenue

Sales Overview

@php $branch = \App\Models\SiteRegister::all(); @endphp

{{ __('Today Report') }}

@if(count($widgets['shop_sale']) == 0 ) @else @foreach ($branch as $site ) @php $shop_sale_data = $widgets['shop_sale']->where('branch_id',$site->id)->first(); $fuel_sale_data = $widgets['fuel_sale']->where('branch_id',$site->id)->first(); $exp_data = $widgets['exp']->where('branch_id',$site->id)->first(); @endphp @endforeach @endif
{{ trans('cruds.siteReg.branch') }} {{ trans('cruds.report.shop_sale') }} {{ trans('cruds.report.fuel_sale') }} {{ trans('cruds.cashExpense.title') }}
Record not avilable
{{$site->name ?? ''}} {{$shop_sale_data != null ? number_format($shop_sale_data->total_amount,2) : ''}} {{$fuel_sale_data != null ? number_format($fuel_sale_data->total_amount,2) : ''}} {{$exp_data != null ? number_format($exp_data->total_amount,2) : ''}}
{{-- --}}
@section('scripts') @endsection @endsection