@extends('companyuser::layouts.master') @section('title', __('purchases::purchase_orders.edit_purchase_order')) @section('extra-styles') @endsection @section('breadcrumb') @endsection @section('content')
@csrf @method('PUT')
@include('companyuser::errors.all') @include('companyuser::errors.lists')
@error('journal_number') @enderror
( @lang('optional') )
@error('description')

{{ $message }}

@enderror
@error('supplier_id') @enderror
@error('issue_date') @enderror
@error('due_date') @enderror

@lang('purchases::purchase_orders.supplier_details'):

@lang('purchases::purchase_orders.phone'): -
@lang('purchases::purchase_orders.email'): -

@lang('sales::invoices.validate_minimum_quantity_message')

@if($data['purchaseOrder']->custom_fields)
@php $customFields = json_decode($data['purchaseOrder']->custom_fields, true) @endphp
@foreach($customFields as $key=>$field)
@if($field['type']=='checkbox') @else @endif
@endforeach
@endif
@if ($data['fiscalYear']) @endif @endsection @section('extra_scripts') @include('purchases::scripts.get_products_script') @endsection