@extends('layout.admin.master')
@section('meta-title', 'Products')
@section('body-class', 'menu-position-side menu-side-left full-screen with-content-panel')
@section('breadcrumbs')
Products
@endsection
@push('asset-top')
@endpush
@section('content')
# |
Name |
Category |
Price |
Quantity |
Action |
@foreach($products as $product)
@php
$prices = json_decode($product->price, true);
$quantity = json_decode($product->quantity, true);
@endphp
@if($product->thumbnail)@endif |
{{$product->name_en}} |
{{(app()->currentLocale()=='en')?$product->cat_en:$product->cat_ar}} |
@foreach($prices as $key=>$value)
{{$key}} : {{$value}}
@endforeach
|
@foreach($quantity as $key=>$value)
{{$key}} : {{$value}}
@endforeach
|
|
@endforeach
@endsection