@extends('layouts.iconbar') @section('title') Dashboard @endsection @section('breadcrumbs') {{ Breadcrumbs::render(\Request::route()->getName()) }} @endsection @section('content')
Welcome To Dashboard
@endsection @section('page-content')

Total Sheets Today

Sheets scheduled to cut today
{{ $data['chart_numbers']['total_sheets_today'] }}

Already Cut

Total Sheets cut
{{ $data['chart_numbers']['already_cut_doors_sheets'] + $data['chart_numbers']['already_cut_doors_sheets'] }}

Already Cut Doors

Sheets cut & average per hour
{{ $data['chart_numbers']['already_cut_doors_sheets'] }} ( {{ $data['chart_numbers']['avg_doors'] }} avg )

Already Cut Carcase

Sheets cut & average per hour
{{ $data['chart_numbers']['already_cut_carcase_sheets'] }} ( {{ $data['chart_numbers']['avg_carcase'] }} avg )
{{--
--}} {{--
--}} {{--
--}} {{--

--}} {{--Estimate Finish Time To Cut Doors--}} {{--

--}} {{----}} {{--Based on average cut time--}} {{----}} {{--
--}} {{--
--}} {{----}} {{--{{ $data['chart_numbers']['estimated_time_to_cut_uncut_doors_sheets'] }}--}} {{----}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--

--}} {{--Estimate Finish Time To Cut Carcase--}} {{--

--}} {{----}} {{--Based on average cut time--}} {{----}} {{--
--}} {{--
--}} {{----}} {{--{{ $data['chart_numbers']['estimated_time_to_cut_uncut_carcase_sheets'] }}--}} {{----}} {{--
--}} {{--
--}} {{--
--}}

Sheets Cut History

Cutting Today

Sheet Type Breakdown
{{ @$data['cutting_today']['total_sheets'] ?? 0 }}
{{ @$data['cutting_today']['sheets_colour'] ?? 0 }} ({{ @$data['cutting_today']['sheets_colour_percent'] ?? 0 }}%) Colour
{{ @$data['cutting_today']['sheets_white'] ?? 0 }} ({{ @$data['cutting_today']['sheets_white_percent'] ?? 0 }}%) White
{{ @$data['cutting_today']['satins'] ?? 0 }} ({{ @$data['cutting_today']['satins_percent'] ?? 0 }}%) Satin

Recent Activities

@forelse ($data['activity_logs'] as $k => $activity)
{{ \Carbon\Carbon::parse($activity->created_at)->format('h:i') }}
{{ $activity->description }}
@empty
No Recent Activity
@endforelse
@foreach ($data['qas'] as $qa)
{{ strtoupper($qa->job->name) }} {{ \Carbon\Carbon::parse($qa->created_at)->diffForHumans() }}

{!! $qa->notes !!}

{!! $qa->job->notes !!}

@endforeach

Inventory

White
{{ $data['inventory']['white'] }}
Satin 36x18
{{ $data['inventory']['white-36x18'] }}
Satin 24x12
{{ $data['inventory']['white-24x12'] }}

Doors & Panels

{{ $data['weekly']['doors'] }}
Sheets
{{ $data['weekly']['doors_avg'] }}
Average Per Day

Carcase

{{ $data['weekly']['carcase'] }}
Sheets
{{ $data['weekly']['carcase_avg'] }}
Average Per Day

Total

{{ $data['weekly']['total'] }}
Sheets
{{ $data['weekly']['total_avg'] }}
Average Per Day
@endsection @section('javascript')