@extends('layouts.admin') @section('title','New purchase order') @section('content') Purchase orders @if($errors->any())
{{ $errors->first() }}
@endif
@csrf

Supplier & destination

Estimated total

AUD 0.00

Updates as you edit quantities and unit costs.

  1. 1. Draft the PO with SKUs and unit costs.
  2. 2. Mark ordered — inventory incoming increases.
  3. 3. Receive — incoming converts to available.

Lines

@php $oldLines = old('lines', [['variant_id' => '', 'quantity' => 10, 'unit_cost' => ''], ['variant_id' => '', 'quantity' => 5, 'unit_cost' => '']]); @endphp @foreach($oldLines as $i => $line)
@endforeach
@endsection