@extends('layouts.app') @section('title', 'Pharmacy | Receive Products') @section('content')

Receive Products

Record new stock received from supplier

{{-- Auto-save indicator --}}
All changes auto-saved in this browser
@if($errors->any())
Please fix the following:

Your entries have been preserved. Scroll down to see highlighted fields.

@endif {{-- Drug lookup data for restoring names after validation errors --}}
@csrf {{-- Order Information --}}

Order Information

{{-- Products --}}

Products

@php $oldItems = old('items', [[]]); @endphp @foreach($oldItems as $idx => $oldItem) @php $drugId = $oldItem['drug_item_id'] ?? ''; $drugInfo = $drugId && isset($drugLookup[$drugId]) ? $drugLookup[$drugId] : null; $drugDisplay = $drugInfo ? $drugInfo['name'] . ($drugInfo['generic_name'] ? ' – ' . $drugInfo['generic_name'] : '') : ''; @endphp @endforeach
Drug Name Qty Received Unit Buying (KES) Selling Price (KES) Line Total (KES) Expiry Date
KES 0
Grand Total: KES 0.00
{{-- Payment --}}

Payment Details

KES 0.00
{{-- Actions --}}
Cancel
@endsection