@extends('admin.admin_master') @section('admin')

Dashboard

@if ($current_user->user_groups == 1)

Total Sales

₹ {{ $total_sale }}

{{--

0.00%from previous period

--}}

New Orders

{{ $new_order }}

{{--

0.00%from previous period

--}}

Customer

{{ $total_customer }}

{{--

16.2%from previous period

--}}

Sales Visit

{{ $sales_visit }}

@endif @if ($current_user->user_groups > 1)

My Sales

0

0.00%from previous period

Customer

1

16.2%from previous period

Product Price Area Wise

@foreach ($category as $key => $item) @foreach ($areas as $key1 => $areai) @endforeach @foreach ($product as $key2 => $producti) @if ($producti->category_id == $item->id) @foreach ($areas as $key1 => $areai) @endforeach @endif @endforeach @endforeach
{{ $item->name }} MRP (₹) {{ $areai->name }} (₹)
{{ $producti->name }} {{ $producti->mrp_price }} {{ isset($producAreaData[$areai->id][$producti->id]) ? $producAreaData[$areai->id][$producti->id] : '0.00' }}
@endif

Latest Transactions

@foreach ($invoice_latest as $key => $item) @endforeach
Invoice Id Customer Name Date Status Amount
#{{ $item->invoice_id }} {{ $item->customer->name }} {{ date('Y-m-d', strtotime($item->created_at)) }}
Active
₹ {{ $item->total_amount }}
@endsection