@extends('layouts.app') @section('stitle', 'Create Purchase Order') @section('title', 'Purchase Order') @section('content')
@if(session()->get('title') == "success") @elseif (session()->get('title') == "error") @endif
{{--

Table Hover Animation

--}}
@csrf
@foreach($prItems as $prItem) {{-- @php $remain_qty = $prItem->qty - $prItem->received_qty @endphp--}} {{-- @if($remain_qty > 0)--}} {{-- @endif--}} @endforeach
Item Name SKU Reference Barcode Supplier Cost Quantity Total Status
{{ $prItem->name }} {{ $prItem->sku }} {{ $prItem->reference }} {{ $prItem->barcode }} test
{{$prItem->storage_unit}}
{{$prItem->qty}} {{$prItem->item_total_cost}} {{ $prItem->status }}
@endsection @push('my_scripts') @endpush