@php $breadcrumbs = [ 'Quotation List' => url('/quotation_list') // 'Signature Editor' => '' ]; @endphp @extends('layouts.master') @section('title') Quotation List @endsection @section('style') @endsection @section('content') {{-- @include('layouts.header') --}}
{{--
--}}
Quotation List

@foreach($quotation as $key => $row) @php $today = \Carbon\Carbon::now()->startOfDay(); $startDate = \Carbon\Carbon::parse($row->quotation_date)->startOfDay(); $endDate = \Carbon\Carbon::parse($row->quotation_exp_date)->startOfDay(); @endphp @endforeach
No. Project Name Quotation No. Quotation Date Expiration Date Status Workflow Status
{{ $key + 1 }} {{ $row->quotation_project_name }} {{ $row->quotation_no }} {{ date('d F Y', strtotime($row->quotation_date)) }} {{ date('d F Y', strtotime($row->quotation_exp_date)) }} @if ($row->quotation_status_form == 'waiting') Waiting @elseif ($row->quotation_status_form == 'active') Active @elseif ($row->quotation_status_form == 'expired') Expired @else {{ $row->quotation_status_form }} @endif @if ($row->quotation_status_approved == 'waiting') {{-- ยังไม่ถึงวันที่เริ่ม (Waiting - สีส้ม) --}} Waiting @elseif ($row->quotation_status_approved == 'pending') {{-- อยู่ในช่วงวันที่กำหนด (Active - สีเขียว) --}} Pending @elseif ($row->quotation_status_approved == 'approved') {{-- อยู่ในช่วงวันที่กำหนด (Active - สีเขียว) --}} Approved @elseif ($row->quotation_status_approved == 'rejected') {{-- อยู่ในช่วงวันที่กำหนด (Active - สีเขียว) --}} Rejected @endif @if ($row->quotation_status_approved != 'waiting') @endif @if ($row->quotation_status_approved == 'waiting' || $row->quotation_status_approved == 'rejected' ) @endif
{{-- @include('layouts.footer') --}} @endsection @section('script') @vite(['resources/js/app.jsx']) {{-- Tawk.to Script --}} {{-- Logic Chatbot / Webhook --}} @endsection