@extends('backend.layouts_backend.master2')
@section('title')
Out Of Stock
@endsection
@section('content')
{{-- header --}}
Out Of Stock
@if (Auth::user()->can('product-list'))
@endif
{{-- end header --}}
{{-- alert add item --}}
@if (session('messagesave'))
{{--
{{ session('message')}}
--}}
{{ session('messagesave') }}
@endif
{{-- alert delete item --}}
@if (session('messagedelete'))
{{ session('messagedelete') }}
{{--
{{ session('messagedelete')}}
--}}
@endif
{{-- alert update item --}}
@if (session('messageupdate'))
{{ session('messageupdate') }}
@endif
#Id |
Product Code |
Product Name |
Image |
Status |
Product Stock |
Stock Alert |
Created By |
Action |
@foreach ($products as $key => $product)
{{ $key + 1 ?? 'N/A' }} |
{{ $product->product_code ?? 'N/A' }} |
{{ $product->product_name ?? 'N/A' }} |
@php
$product_image_decoded = isset($product->product_image)
? json_decode($product->product_image)
: null;
$product_gallery_decoded = isset($product->product_image_gallery)
? json_decode($product->product_image_gallery)
: null;
@endphp
|
@if ($product->product_status == '1')
Active
@else
In Active
@endif
|
{{ $product->product_stock_quantity ?? 'N/A' }} |
{{ $product->product_stock_alert ?? 'N/A' }} |
{{ get_user_fullname_temporary($product->created_by) ?? 'N/A' }} |
@if (Auth::user()->can('product-show'))
@endif
|
{{-- view details modal --}}
{{-- end of view modal --}}
@endforeach
@endsection