@extends('layouts.app') @section('title', 'Pharmacy Stock') @section('content')
| Drug | Category | Batches | Total Stock | Near Expiry | Price |
|---|---|---|---|---|---|
| {{ $d->name }} | {{ $d->category }} | {{ $d->batches->count() }} | {{ $totalStock }} | @if($nearExpiry){{ $nearExpiry }}@else |@endif | {{ number_format($d->selling_price) }} |
| No drugs. | |||||