@extends('layouts.master') @section('content')
Purchase Order

Purchase Order List @can('Purchase Order add') Add Purchase Order @endcan

@foreach ($purchase_order as $key => $po) @endforeach
S.No Date PO Number Supplier Total Amount Custom Charges Tax Grand Total Status Item Details Description Created By Created Ay Updated At Action
{{ $key + 1 }} {{ $po->order_date }} {{ $po->po_number }} {{ $po->supplier->supplier_name }} {{ number_format($po->total_amount) }} {{ number_format($po->custom_charges) }} {{ number_format($po->tax) }} {{ number_format($po->grand_total) }} @if ($po->status == 'Pending') {{ $po->status }} @elseif($po->status == 'Approved') {{ $po->status }} @elseif($po->status == 'Rejected') {{ $po->status }} @else {{ $po->status }} @endif @foreach ($po->Purchasedetails as $item) @endforeach
Item Name Marka Bori Weight Rate Amount
{{ $item->proCateChild->name }} {{ $item->marka }} {{ $item->bori }} {{ number_format($item->weight) }} {{ number_format($item->rate) }} {{ number_format($item->amount) }}
{{ $po->notes }} {{ $po->createdBy->name }} {{ $po->created_at }} {{ $po->updated_at }} @can('Purchase Order edit') Edit @endcan @can('Purchase Order delete') Remove @endcan
@endsection @push('scripts') @endpush