@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]))
@include('portal.ninja2020.purchase_orders.includes.actions', ['purchase_order' => $purchase_order])
@else

{{ ctrans('texts.purchase_order_number_placeholder', ['purchase_order' => $purchase_order->number])}} - {{ \App\Models\PurchaseOrder::stringStatus($purchase_order->status_id) }}

@if($key) @endif
@endif @include('portal.ninja2020.components.entity-documents', ['entity' => $purchase_order]) @livewire('pdf-slot', ['entity' => $purchase_order, 'invitation' => $invitation, 'db' => $purchase_order->company->db]) @endsection @section('footer') @include('portal.ninja2020.invoices.includes.terms', ['entities' => [$purchase_order], 'entity_type' => ctrans('texts.purchase_order')]) @include('portal.ninja2020.invoices.includes.signature') @endsection @push('head') @vite('resources/js/clients/purchase_orders/accept.js') @endpush