@extends('admin.layouts.app') @section('title', 'Items') @section('content')

Items

ADD AN ITEM
All System Items
{{--

Add lightweight datatables to your project with using the Simple DataTables library. Just add .datatable class name to any table you wish to conver to a datatable. Check for more examples.

--}}
@forelse($items as $item) @empty @endforelse
Name Category Buying Price Selling Price Quantity Action
. {{ $item->name }} {{ $item->category->name }} {{ $item->buying_price }} {{ $item->selling_price }} {{ $item->quantity }} View @if(Auth::guard('admin')->user()->type == 'admin') Edit Delete @endif
No item Yet. Please ADD A ITEM
@endsection