@extends('../layout/' . $layout) @section('subhead') Product @endsection @section('subcontent') @php $currency = DB::table('systemflag') ->where('name', 'Currency') ->select('value') ->first(); @endphp

Products

Add Product
@csrf
@if (!$searchString) @else @endif
@if ($totalRecords > 0)
@foreach ($astromallProduct as $product)
Product image
{{ $product['name'] }} {{ date('d-m-Y', strtotime($product['created_at'])) }}
Amount: {{$currency->value}}{{ $product['amount'] }}
Product Category: {{ $product['productCategory'] }}
Features: {{ $product['features'] }}
@endforeach
@if ($totalRecords > 0)
Showing {{ $start }} to {{ $end }} of {{ $totalRecords }} entries
@endif
@else
noData

No Data Available

@endif @endsection @section('script') @endsection