@extends('admin.layouts.app') @section('content') @push('styles') @endpush
{{-- Back --}}
Add New Items
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@foreach ($items as $item) @endforeach
{{-- --}}
SL No Item Code Item Name Brand Model Serial No Unit Type Status Action
{{ $loop->iteration }}
{{ $item->item_code }}

{{ $item->item_title }}

@php $brandName = App\Models\Brand::where('id', $item->brand_type)->value('brand_name'); @endphp

{{ $brandName }}

{{ $item->model }}

{{ $item->serial_no }}

{{ $item->unit_type }}

{{ $item->category_id }}

{{ $item->sub_category_id }}

@if ($item->status == 1) Active @else InActive @endif
@endsection