@extends('layouts.master-vnext') @section('page-title') Sales - {{ $group->category->name }}: {{ $group->name }} @endsection @section('content')
@include('dashboard.sales.name-qty-total', [ 'title' => 'In house', 'items' => $inHouse, 'itemColumnHeader' => 'Product', 'currency' => $defaultCurrency, 'idFieldName' => 'productId', 'controllerAndAction' => "Dashboard\SalesController@account", 'actionParams' => ['bookingTypes' => ['Pre booked', 'Walk in'], 'division' => $divisionId, 'filterFrom' => $filterFrom->toIso8601String(), 'filterTo' => $filterTo->toIso8601String()] ])
@include('dashboard.sales.name-qty-total', [ 'title' => 'Walk in cash', 'items' => $cash, 'itemColumnHeader' => 'Product', 'currency' => $defaultCurrency, 'idFieldName' => 'productId', 'controllerAndAction' => "Dashboard\SalesController@account", 'actionParams' => ['bookingTypes' => ['WA'], 'division' => $divisionId, 'filterFrom' => $filterFrom->toIso8601String(), 'filterTo' => $filterTo->toIso8601String()] ])
@include('dashboard.sales.name-qty-total', [ 'title' => 'Andy Li', 'items' => $andyLi, 'itemColumnHeader' => 'Product', 'currency' => $defaultCurrency, 'idFieldName' => 'productId', 'controllerAndAction' => "Dashboard\SalesController@account", 'actionParams' => ['bookingTypes' => ['Andy Li'], 'division' => $divisionId, 'filterFrom' => $filterFrom->toIso8601String(), 'filterTo' => $filterTo->toIso8601String()] ])
@include('dashboard.sales.name-qty-total', [ 'title' => 'Vip', 'items' => $vip, 'itemColumnHeader' => 'Product', 'currency' => $defaultCurrency, 'idFieldName' => 'productId', 'controllerAndAction' => "Dashboard\SalesController@account", 'actionParams' => ['bookingTypes' => ['VIP'], 'division' => $divisionId, 'filterFrom' => $filterFrom->toIso8601String(), 'filterTo' => $filterTo->toIso8601String()] ])
@include('dashboard.sales.name-qty-total', [ 'title' => 'Company', 'items' => $company, 'itemColumnHeader' => 'Product', 'currency' => $defaultCurrency, 'idFieldName' => 'productId', 'controllerAndAction' => "Dashboard\SalesController@account", 'actionParams' => ['bookingTypes' => ['Company'], 'division' => $divisionId, 'filterFrom' => $filterFrom->toIso8601String(), 'filterTo' => $filterTo->toIso8601String()] ])
@endsection