@extends('admin.layout.master') @section('title','CASHIER SALES') @section('content')

Sales Report Table

{{-- @foreach ($table as $item) @endforeach

{{--

--}} @php $i=1; $total=0; @endphp @foreach ($tableSales as $tableSale)
{{ $total += $tableSale['sum'] }}
@endforeach
Id Table name Amount
{{ $i++ }} {{ $tableSale['name'] }} {{ $tableSale['sum'] }}
Total {{ $total }}
@endsection @section('script') @endsection