{{-- DTHospital - medicine categories. Copyright (c) ICT Innovations Part of DTHospital Licensed under the GNU General Public License v3.0. --}} @extends('layouts.master') @section('style') @stop @section('content') @if (Session::get('success'))
{{ Session::get('success') }}
@endif @if (Session::get('error'))
{{ Session::get('error') }}
@endif

Medicine categories

@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if ($categories->isEmpty())

No categories yet. Antibiotics, analgesics and antipyretics are a common start.

@else @foreach ($categories as $category) @endforeach
CategoryDescriptionMedicines
{{ $category->category }} {{ $category->description }} {{ $counts[$category->id] ?? 0 }}
{{ csrf_field() }}
@endif

Add a category

{{ csrf_field() }}
@stop @section('script') @stop