@extends('layouts.dashboard.superadminapp') @section('title', 'Manufacturing Planning') @push('styles') @endpush @section('content')

Production Planning

Orchestrate your manufacturing schedules & workflows.

{{ now()->format('F d, Y') }}
{{ now()->format('l') }}
Gantt View
@if($read2PlanOrders->isEmpty())
All caught up! No orders pending for planning.
@endif
@foreach ($read2PlanOrders as $order)
{{ $order->sales_order_no }}
Customer
{{ $order->customer?->company ?? 'N/A' }}
Order Date
{{ \Carbon\Carbon::parse($order->sales_order_date)->format('d M, Y') }}
@endforeach
@if($planningOrders->isEmpty())
No active production plans found.
@endif
@foreach ($planningOrders as $order)
{{ $order->sales_order_no }}
@if($order->routeCard->status === 'approved') APPROVED @else DRAFT @endif
Client
{{ $order->customer?->company ?? '-' }}
Steps
{{ $order->routeCard->processes->count() }} Process
Planner
{{ $order->routeCard->approved_by ?? 'Admin' }}
@if ($order->routeCard->status === 'approved') @else @endif
@endforeach
@endsection @push('scripts') @endpush