{{-- DTHospital - prescribed against dispensed. Copyright (c) ICT Innovations Part of DTHospital Licensed under the GNU General Public License v3.0. --}} @extends('layouts.master') @section('style') @stop @section('content')

Drug usage {{ $from->toDateString() }} to {{ $to->toDateString() }}


@if ($rows->isEmpty())

Nothing was prescribed or dispensed in that range.

@else @foreach ($rows as $row) @endforeach
Medicine Times prescribed Units dispensed Value dispensed
{{ $row['name'] }} {{ $row['prescribed'] }} {{ $row['dispensed'] }} {{ number_format($row['value'], 2) }}
Total dispensed value {{ number_format($totalValue, 2) }}

Rows highlighted in amber were prescribed in this period and never dispensed here. That is normally stock, or a patient filling the script somewhere else, and it is worth checking before reordering.

@endif
@stop @section('script') @stop