@extends('layouts.admin') @section('title', __('New purchase order')) @section('content')

{{ __('New purchase order') }}

@if (!$suppliers || !$warehouses)

{{ __('Add at least one supplier and one warehouse first (menu: Suppliers, Warehouses).') }}

@else
@csrf

{{ __('Products') }}

@for ($i = 0; $i < max(3, count((array) old('lines', []))); $i++)
@endfor
{{ __('Save as draft') }}
@push('scripts') @endpush @endif @endsection