@include('usersPages.includes.userSummary') @if(isset($temp)) @if(!empty($temp) && $numberDays > 7)

Last 7 Days Sales, (Graph Updates at 7:30 AM, 3:00 PM & 11:00 PM)

@endif @endif

Credit Requests ( उधार )
[ Total Vehicles : @if(isset($vehiclesCount)) {{$util->numberFormatRound($vehiclesCount)}} @endif, Total Credit Customers : @if(isset($transportersCount)) {{$util->numberFormatRound($transportersCount)}} @endif]

Outstanding Credit (बकाया उधार) Rs : {{$totalClosingBal?strstr($util->numberFormat(round($totalClosingBal)),'.',true):0}}
@if(isset($totalCreditGiven)) @if($totalCreditGiven!= 0.00)
@else
@endif @else
@endif

Dealer Sales & Stock

@if(isset($report)) @foreach($report['products'] as $product) @if($report['sales']) @foreach($report['sales'] as $sale) @endforeach @endif @if($report['cumSales']) @foreach($report['cumSales'] as $cumSale) @endforeach @endif @if($report['stock']) @foreach($report['stock'] as $st) @endforeach @endif @if($report['avg']) @foreach($report['avg'] as $average) @endforeach @endif @if($report['projMonth']) @foreach($report['projMonth'] as $projKL) @endforeach @endif
(Ltr){{$product->name}} @endforeach Total
Sales{{strstr($util->numberFormat(round($sale['sales'])),'.',true)}}{{strstr($util->numberFormat(round($totsales)),'.',true)}}
Cumulative Sales {{strstr($util->numberFormat(round($cumSale['cumSales'])),'.',true)}}{{strstr($util->numberFormat(round($totcumSales)),'.',true)}}
Stock{{strstr($util->numberFormat(round($st['stock'])),'.',true)}}{{strstr($util->numberFormat(round($totstock)),'.',true)}}
Avg Daily Sales{{strstr($util->numberFormat(round($average['avg'])),'.',true)}}{{strstr($util->numberFormat(round($totavg)),'.',true)}}
Projected Monthly Sales ( KL ){{strstr($util->numberFormat(round($projKL['projMonth']/1000)),'.',true)}}{{strstr($util->numberFormat(round($totprojMonthKL)),'.',true)}}
@else
Records not found
@endif

Loyalty Sales ( इनाम )

Oil Stock ( तेल स्टॉक ) (@if (isset($totalProdQty)){{$totalProdQty}} @endif)

@if(isset($tanks)) @include('reports.printTankFuelChart') @foreach($tanks as $tank)
@endforeach @endif

Reminder List (Upcoming Reminders)

@if(isset($docList) && $docList->count()>0)
    @foreach($docList as $key=>$list)
  • @php($to = \Carbon\Carbon::createFromFormat('Y-m-d', date('Y-m-d'))) @php($from = \Carbon\Carbon::createFromFormat('Y-m-d',$list->expiryDate)) @php($diff_in_days = $to->diffInDays($from)) @php($expireOn = $from->diff(Carbon\Carbon::now())->format('%y Year, %m Months and %d Days')) {{$key+1}}]   Due / Renewal Date : {{$util->dateFormat($list->expiryDate,1)}} | {{substr($list->name,0,35)}} {{strlen($list->name)>35?'...':''}} | @if($list->image != NULL) @php($ext = pathinfo($list->image, PATHINFO_EXTENSION)) @php($icons = $exten[$ext]) @php($color = $extenColor[$ext]) {{$list->name}} | @endif @if($from >= $to) @if($diff_in_days <= 7) {{$expireOn}} @else {{$expireOn}} @endif @else Expired @endif
  • @endforeach
@else
  • Records Not Found 2 mins
@endif