/**
  * Show the form for creating a new resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function create()
 {
     $tags = Medication::personalize()->lists('name', 'name');
     return view('batch.create', compact('tags'));
 }
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     $medications = Medication::personalize()->get();
     $batchs = Batch::personalize()->get();
     return view('medication.index', ['medications' => $medications, 'batchs' => $batchs]);
 }