@extends('layouts.argon')
@section('content')
{{ $i }}Add new inventory!
Edit and delete inventory
@php
$i = 1;
@endphp
@foreach ($inventoryitems as $getdata)
Sr No.
Category
Item Name
Qty (In Stock)
Actions
@php
$i++;
@endphp
@endforeach
@php
$getcat = DB::table('asset_heads')->where('id' , $getdata->cat_id)->first();
@endphp
@if(isset( $getcat->name))
{{ $getcat->name }}
@endif
{{ $getdata->itemname }}
{{ $getdata->qty_instock }}