@include('layouts.header') @include('layouts.sidebar')
@if(session()->has('success'))
{{ session()->get('success') }}
@endif @if(session()->has('error'))
{{ session()->get('error') }}
@endif
{{--
--}}
{{--
--}}
@if(hasPermission('purchase_orders', 'update') || hasPermission('purchase_orders', 'delete') || hasPermission('purchase_orders', 'view')) @endif @foreach($purchase_orders as $row) @if(hasPermission('purchase_orders', 'update') || hasPermission('purchase_orders', 'delete') || hasPermission('purchase_orders', 'view')) @endif @if($row->inward_status == 1) @elseif($row->inward_status == 2) @else @endif @if($row->inward_status != 0) @else {{-- Empty cell if inward_status is 0 --}} @endif @endforeach
ActionPO Number Company Supplier Grand Total Inward Status View Inwards
@if(hasPermission('purchase_orders', 'view')) @endif @if(hasPermission('purchase_orders', 'update')) @endif @if(hasPermission('purchase_orders', 'delete')) @endif
{{ $row->po_number}} {{ $row->company_name}} {{ $row->supplier_name}} ₹ {{ $row->grand_total}}View
@include('layouts.footer')