@extends('layouts.master') @section('extraStyle') @endsection @section('content') {{-- side bar --}} @include('balde_components.navs.side-bar') {{-- top nav bar --}} @include('balde_components.navs.nav-bar-v2') {{-- main page content --}}
{{-- main header --}}
{{-- @csrf --}}
{{-- header description --}}

{{__("Products")}}

{{__("Total")}} {{$total}}

{{__("products_header_description")}}

{{-- products boxes --}}
@forelse ($products as $product)
@if ($product->getFirstMediaUrl('image') != "") image @else image @endif
{{$product->category->name}}

{{$product->name}} {{$product->id}}

{{$product->market->name}}

{{$product->market->address}}

@if ($product->rate)
{{$product->rate}}
@endif

{!! getPrice($product->getPrice()) !!}

@if ($product->discount_price !=0) -{{number_format(100-($product->discount_price * 100 / $product->price),0)}} % @endif
{{__("Delivery")}} {{__("Take away")}}
@empty
{{__('No Product is found')}}
@endforelse
{{-- pagination --}}
{{-- footer--}} @include('balde_components.footer') @endsection @section('extraJs') @endsection