@extends('layouts.master-vnext') @section('page-title') 'Movements' vs 'Sales' - by category @endsection @section('content')

Movements

@foreach($movementsByCategory as $category) @endforeach
Category Total
{{ $category->name }} @currency($category->total) {{ $defaultCurrency->symbol }}
Total: @currency($movementsByCategory->sum('total')) {{ $defaultCurrency->symbol }}

Sales

@foreach($guestSalesByCategory as $category) @endforeach
Category Total
{{ $category->category->name }}: {{ $category->name}} @currency($category->total) {{ $defaultCurrency->symbol }}
Total: @currency($guestSalesByCategory->sum('total')) {{ $defaultCurrency->symbol }}

Sales (VIP)

@foreach($vipSalesByCategory as $category) @endforeach
Category Total
{{ $category->category->name }}: {{ $category->name}} @currency($category->total) {{ $defaultCurrency->symbol }}
Total: @currency($vipSalesByCategory->sum('total')) {{ $defaultCurrency->symbol }}

Sales (Company)

@foreach($companySalesByCategory as $category) @endforeach
Category Total
{{ $category->category->name }}: {{ $category->name}} @currency($category->total) {{ $defaultCurrency->symbol }}
Total: @currency($companySalesByCategory->sum('total')) {{ $defaultCurrency->symbol }}

Expenses

@foreach($expenseCategories as $category) @endforeach
Category Total
$category['id'], 'division' => $division->id, 't' => 'exp', 'filterFrom' => Request::get("filterFrom"), 'filterTo' => Request::get("filterTo")]) }}"> {{ $category["name"] }} @currency($category["total"]) {{ $defaultCurrency->symbol }}
Total: @currency($expenseCategories->sum('total')) {{ $defaultCurrency->symbol }}
@endsection