@extends($activeTemplate . 'layouts.side_bar') @php $products = $serviceCategory->products($filter = true)->paginate(getPaginate()); @endphp @section('data')

{{ __($serviceCategory->name) }}

{{ $serviceCategory->short_description }}

@forelse($products as $product)
{{ __($product->name) }}
@if ($product->stock_control) {{ $product->stock_quantity }} @lang('Available') @endif
@php $price = $product->price; $setup = pricing($product->payment_type, $price, $type = 'setupFee'); @endphp

{{ gs('cur_sym') }}{{ pricing($product->payment_type, $price, $type = 'price') }} / {{ __(gs('cur_text')) }}

{{ pricing($product->payment_type, $price, $type = 'price', $showText = true) }}

{{ gs('cur_sym') }}{{ $setup }} {{ pricing($product->payment_type, $price, $type = 'setupFee', $showText = true) }}

@php echo nl2br($product->description); @endphp

@empty
@endforelse {{ paginateLinks($products) }}
@endsection