@extends('layouts.master') @section('page_header') Drugs @endsection @section('content')
Drug Name | Ingredient | Quantity Type | Manufacturer | Quantity | |
---|---|---|---|---|---|
$drug->id])}}'"> {{$drug->name}} | $drug->id])}}'"> {{$drug->ingredient? : "N/A"}} | $drug->id])}}'"> {{$drug->quantityType->drug_type}} | $drug->id])}}'"> {{$drug->manufacturer}} | $drug->id])}}'"> {{Utils::getFormattedNumber($drug->quantity)}} | @can('delete',$drug) {{-- A modal is used to confirm the delete action. One the modal popup, the url in the form changes according to the drug's id --}} @endcan |