@extends('layouts.admin') @section('title', __('Purchase orders')) @section('content')

{{ __('Purchase orders') }}

{{ __('New purchase order') }}
{{ __('Filter') }}
@if ($result['items'])
@foreach ($result['items'] as $p) @endforeach
{{ __('PO') }}{{ __('Supplier') }}{{ __('Warehouse') }}{{ __('Received') }}{{ __('Cost') }}{{ __('Status') }}
{{ $p->po_number }}{{ $p->created_at }}{{ $p->supplier }}{{ $p->warehouse }}{{ $p->qty_received }} / {{ $p->qty_ordered }}{{ $shop->money->format((float) $p->total_cost) }}
@include('partials.pagination', ['result' => $result]) @else @endif @endsection