@php if($itemType == 'product') { $itemImage = $item->thumbnail; $itemCreator = $item->creator; $taxType = "store"; } else { $itemImage = $item->getImage(); $itemCreator = $item->teacher; $taxType = "general"; } @endphp
{{ $item->title }}

{{ clean($item->title,'title') }}

@include('design_1.web.components.rate', ['rate' => $item->getRate(), 'rateClassName' => 'mt-12'])
{{ $itemCreator->full_name }}
{{ $itemCreator->full_name }}

{{ $itemCreator->bio }}

@if($itemType == 'product') @if($item->price > 0) @php $itemPriceWithActiveDiscountPrice = $item->getPriceWithActiveDiscountPrice(); @endphp @if($itemPriceWithActiveDiscountPrice < $item->price) {{ ($itemPriceWithActiveDiscountPrice > 0) ? handlePrice($itemPriceWithActiveDiscountPrice, true, true, false, null, true, 'store') : trans('public.free') }} {{ handlePrice($item->price, true, true, false, null, true, 'store') }} @else {{ handlePrice($item->price, true, true, false, null, true, 'store') }} @endif @else {{ trans('public.free') }} @endif @else @if($item->price > 0) @if($item->bestTicket() < $item->price) {{ handlePrice($item->bestTicket(), true, true, false, null, true, $taxType) }} {{ handlePrice($item->price, true, true, false, null, true, $taxType) }} @else {{ handlePrice($item->price, true, true, false, null, true, $taxType) }} @endif @else {{ trans('public.free') }} @endif @endif