{{-- Status --}}
@if (!empty($user->health_post_id))
@endif @if (empty($user->health_post_id))
@endif
@error('status') {{ $message }} @enderror
{{-- Items Table --}}
{{-- --}} @foreach ($lists as $key) {{-- Medicine Type --}} {{-- Medicine --}} {{-- Batch --}} {{-- Info --}} {{-- Qty --}} {{-- Unit --}} {{-- --}} {{-- Remarks --}} {{-- Action --}} @endforeach
# Medicine Type * Medicine * Batch No * Info Qty *Unit *Remarks Action
{{ $loop->iteration }} @error('medicine_type_id.' . $key) {{ $message }} @enderror @error('medicine_id.' . $key) {{ $message }} @enderror @error('batch_no.' . $key) {{ $message }} @enderror @if (isset($batchInfo[$key]))
{{--
Type: {{ $batchInfo[$key]['type'] ?? '-' }}
--}}
Category: {{ $batchInfo[$key]['category'] ?? '-' }}
unit: {{ $batchInfo[$key]['unit'] ?? '-' }}
Available Qty: {{ $batchInfo[$key]['available_qty'] ?? 0 }}
@if (!empty($batchInfo[$key]['distributor']))
Distributor: {{ $batchInfo[$key]['distributor'] ?? '-' }}
@endif
MFG: {{ $batchInfo[$key]['mfg_date'] ?? '-' }}
EXP: {{ $batchInfo[$key]['exp_date'] ?? '-' }}
@else @endif
@error('qty.' . $key) {{ $message }} @enderror @error('unit_id.' . $key) {{ $message }} @enderror @if (count($lists) > 1) @endif
{{-- Add More --}}
{{-- Footer --}}
{{-- @script @endscript --}}