@extends('admin.master') @section('title') Medicines @if(isset($medicine)) Edit @else Add @endif @endsection @section('sideMenuTitle') Medicines @if(isset($medicine)) Edit @else Add @endif @endsection @section('pageTitle') Medicine List @endsection @section('bodyContent')
@if(Session::has('message'))

{{Session::get('message')}}

@endif @if(Session::has('error'))

{{Session::get('error')}}

@endif @if ($errors->any())
@endif

Add Category Add Medicine Groups Add Generic Names Add Supplier @if (!isset($medicine)) {!! Form::open(['url' => 'product/add', 'method' => 'post', 'name' => 'medForm', 'enctype' => 'multipart/form-data', 'role' => 'form']) !!} @endif @if (isset($medicine)) {!! Form::open(['url' => 'product/update', 'method' => 'post','name' => 'medForm', 'enctype' => 'multipart/form-data', 'role' => 'form']) !!} @endif

Please add category, group, generic name, company name before adding medicine.

{!! Form::close() !!}
@endsection