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