@extends('layouts.app') @section('title') Purchase Order @stop @section('breadcrumb')
@stop @section('css') @stop @section('content')ID# | Vendor | Receive By | Total Item | Status | Sent date | Delivery date | Action |
---|---|---|---|---|---|---|---|
PO-{{$list->id}} | @permission('view-vendor') {{ucfirst($vendor->name)}} @else {{ucfirst($vendor->name)}} @endpermission |
@if(!empty($list->receiver_name))
{{ucfirst($list->receiver_name)}}
{{date('d-F-Y' , strtotime($list->receiving_date))}}
@else
{{'Not Yet Receive'}}
@endif
|
[ {{\App\PurchaseOrder::getPurchaseOrderTotalItems($list->id , $list->purchase_request_id)}} ] |
@if($list->status == 1)
{{ 'PO SENT' }}
@elseif ($list->status == 2)
{{ 'PO RECEIVED' }}
@elseif($list->status == 3)
{{ 'PARTIALLY RECEIVED' }}
@endif
|
{{date('d-F-Y' , strtotime($list->created_at))}} | {{date('d-F-Y' , strtotime($list->delivery_date))}} | @permission('view-purchase-order') View @endpermission @if($list->status == 1) @permission('delete-purchase-order') Cancel @endpermission @endif |