@extends('portal.ninja2020.layout.vendor_app') @section('meta_title', ctrans('texts.view_purchase_order')) @push('head') @include('portal.ninja2020.components.no-cache') @endpush @section('body') @if($purchase_order->company->getSetting('vendor_portal_enable_uploads')) @component('portal.ninja2020.purchase_orders.includes.upload', ['purchase_order' => $purchase_order]) @endcomponent @endif @if(in_array($purchase_order->status_id, [\App\Models\PurchaseOrder::STATUS_SENT, \App\Models\PurchaseOrder::STATUS_DRAFT]))