@extends('layouts.website.website') @section('content')
Medicine
@foreach (App\MadicneList::orderBy('name','ASC')->get() as $item) @if ($item->categorys) @else @endif @endforeach
Id Name Category Store Box Purchase Price Sale Price Quantity Generic Name Company Effects Expire date Options
{{ $item->id }} {{ $item->name }}{{ $item->categorys->name }}{{ $item->storebox }} {{ $item->price }} {{ $item->saleprice }} {{ $item->quantity }}
{{ $item->genericname }} {{ $item->company }} {{ $item->effect }} {{ Carbon\Carbon::parse($item->expire_date)->format('d,M Y') }} Delete
@endsection