@extends('layouts.pharmacist') @section('title') Stock Page @endsection @section('body')
# | Drug Name | Quantity | Category | Price (N) | Action | @forelse($stocks as $stock)
---|---|---|---|---|---|
{{ $loop->iteration }} | {{ ucfirst($stock->name) }} | {{ $stock->quantity }} | {{ !empty($stock->category->name) ? $stock->category->name : "" }} | NGN{{ $stock->price }} | Details |
1 | Paracetamol | 20 | Test Category | 10,000 | Details |
2 | Tetracycline | 30 | Test Category | 15,000 | Details |