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

GRN List

Total GRNs
{{ $grns->count() }}
Approved
{{ $grns->where('status', 'approved')->count() }}
Rejected
{{ $grns->where('status', 'rejected')->count() }}
Pending
{{ $grns->where('status', '!=', 'approved')->where('status', '!=', 'rejected')->count() }}
GRN Details
Add GRN
@foreach ($grns as $grn) @endforeach
GRN ID GRN Date Order ID Order Date Company Name Quotation ID RFQ ID Part No Status Challan Product Type Actions
{{ $grn->grn_no }} {{ $grn->grn_date ? \Carbon\Carbon::parse($grn->grn_date)->format('d M Y') : '-' }} {{ $grn->order_no ?? '-' }} {{ $grn->order_date ? \Carbon\Carbon::parse($grn->order_date)->format('d M Y') : '-' }} {{ $grn->company_name ?? '-' }} {{ $grn->quotation_no ?? '-' }} {{ $grn->rfq_no ?? '-' }} {{ $grn->part_no ?? '-' }} @if($grn->status == 'approved') Approved @elseif($grn->status == 'rejected') Rejected @else Pending @endif @if ($grn->challan_file) @else - @endif {{ $grn->product_type ?? '-' }}
@if($grn->status != 'approved' && $grn->status != 'rejected') @endif
@endsection @section('scripts') @endsection