@extends('layouts.app', ['activePage' => 'listProduct', 'titlePage' => __('Product List')]) @section('content')


{{ __('pages.products') }}

@if (count($errors) > 0) @if($errors->any()) @endif @endif @if (session('status')) @endif
@foreach ($listProduct as $key=>$user) @endforeach
{{ __('#') }} {{ __('pages.name') }} {{ __('pages.subcategory') }} {{ __('pages.price') }} {{ __('pages.discount') }} {{ __('pages.status') }} {{ __('pages.image') }} {{ __('pages.action') }}
{{ $key+1}} {{ $user->product_name}} {{ $user->subcategory_name}} {{ number_format( $user->product_price)}} {{ number_format( $user->product_discount)}} @if($user->product_status == 0) refresh @endif @if($user->product_status == 1) close @endif image edit
@endsection @push('js') @endpush