@extends('layouts.app') @section('title') Purchase Order @stop @section('breadcrumb') @stop @section('css') @stop @section('css') @stop @section('content')

Purchase Order

@foreach($sent_purchase_orders as $sent_order) @endforeach
Po# Vendor Status Sent Date Delivery Date Action
PO-{{$sent_order->id}} {{$sent_order->vendor->name}} @if($sent_order->status == 1)
{{ 'PO SENT' }}
@elseif ($sent_order->status == 2)
{{ 'PO RECEIVED' }}
@elseif($sent_order->status == 3)
{{ 'PARTIALLY RECEIVED' }}
@endif
{{date('d-F-Y' , strtotime($sent_order->created_at))}} {{date('d-F-Y' , strtotime($sent_order->delivery_date))}} @permission(['list-purchase-order' , 'store-keeper']) View @endpermission
@foreach($receive_purchase_orders as $sent_order) @endforeach
Po# Vendor Status Sent Date Delivery Date Date
PO-{{$sent_order->id}} {{$sent_order->vendor->name}} @if($sent_order->status == 1)
{{ 'PO SENT' }}
@elseif ($sent_order->status == 2)
{{ 'PO RECEIVED' }}
@elseif($sent_order->status == 3)
{{ 'PARTIALLY RECEIVED' }}
@endif
{{date('d-F-Y' , strtotime($sent_order->created_at))}} {{date('d-F-Y' , strtotime($sent_order->delivery_date))}} @permission(['list-purchase-order', 'store-keeper']) View @endpermission
@foreach($partial_purchase_orders as $sent_order) @endforeach
Po# Vendor Status Sent Date Delivery Date Date
PO-{{$sent_order->id}} {{$sent_order->vendor->name}} @if($sent_order->status == 1)
{{ 'PO SENT' }}
@elseif ($sent_order->status == 2)
{{ 'PO RECEIVED' }}
@elseif($sent_order->status == 3)
{{ 'PARTIALLY RECEIVED' }}
@endif
{{date('d-F-Y' , strtotime($sent_order->created_at))}} {{date('d-F-Y' , strtotime($sent_order->delivery_date))}} @permission(['list-purchase-order', 'store-keeper']) View @endpermission
@stop @section('js') @stop