@extends('web.layouts.main') @section('content') @include('web.pages.components.headerNav') @foreach($photos as $row) @endforeach {{$product->descriptions()->name}} {{__('web.product_cost')}} - {{$product->code}} {{__('web.cost')}} : @if($product->type != 'none') {{number_format($product->costCheck(),2)}} {{__('web.sar')}} {{$product->costBeforeCheck()}} {{__('web.sar')}} @if($product->type == 'percentage') {{__('web.discount')}} {{$product->getDiscount()}} % @else {{__('web.discount')}} {{$product->getDiscount()}} {{__('web.sar')}} @endif @else {{number_format($product->costCheck(),2)}} {{__('web.sar')}} @endif 1 {{__('web.total')}} : {{number_format($product->costCheck(),2)}} {{__('web.sar')}} {{__('web.add_cart')}} {{__('web.share')}} : {{__('web.details')}} {{__('web.rates')}} {!! $product->descriptions()->description !!} @if(count($rates) > 0) @foreach($rates as $row) {{$row->user->name}} {{$row->rate}} {{$row->comment}} @endforeach @else {{__('web.not_exist_rates')}} @endif @if($product->sold()) {{__('web.add_rate')}} @endif @if(count($products) > 0) {!! $page->descriptions()->title !!} {!! $page->descriptions()->description !!} @foreach($products as $row) {!! $row->viewCard() !!} @endforeach @endif
{!! $page->descriptions()->description !!}