@extends('layouts.dashboard.superadminapp') @section('title', 'Purchase Quotations List') @section('styles') @endsection @section('content')

UEPL | Purchase Quotations

day, 00 month 0000
@if (session('success')) @endif @if (session('error')) @endif
Total Quotations
{{ $quotations->count() }}
Pending
{{ $quotations->where('status', 'pending')->count() }}
Approved
{{ $quotations->where('status', 'approved')->count() }}
Rejected
{{ $quotations->where('status', 'rejected')->count() }}
Purchase Quotation Data Add New
@foreach ($quotations as $index => $quotation) @endforeach
# Quotation No Vendor Date Items Grand Total Status Actions
{{ $index + 1 }} {{ $quotation->quotation_no }} {{ Str::limit($quotation->vendor_name, 25) }} {{ \Carbon\Carbon::parse($quotation->quotation_date)->format('d-m-Y') }} {{ $quotation->items_count ?? $quotation->items->count() }} {{ number_format($quotation->grand_total, 2) }} @if($quotation->status == 'approved') Approved @elseif($quotation->status == 'rejected') Rejected @else Pending @endif
@if ($quotation->status === 'pending') @endif
@endsection @section('scripts') @endsection