@extends('layouts.app') @push('css') @endpush @section('content')


@if(isset($porder->id))
{{ method_field('PUT') }} @else @endif {{ csrf_field() }}
@if ($errors->has('supplier')) @endif
@if ($errors->has('store')) @endif
@if ($errors->has('date_created')) @endif

@foreach($porder->purchase_order_items as $items) "; @endforeach
Product Name Quantity Selling Price Cost Price Total Action
{{ $items->stock->name }} {{ $items->qty }} {{ number_format($items->selling_price,2) }} {{ number_format($items->cost_price,2) }} {{ number_format(($items->cost_price * $items->qty),2) }}
Total {{ number_format($porder->total,2) }}
@endsection @push('js') @endpush