 }})
@if($deal_of_the_day->discount > 0)
@if ($deal_of_the_day->discount_type == 'percent')
-{{round($deal_of_the_day->discount,(!empty($decimal_point_settings) ? $decimal_point_settings: 0))}}%
@elseif($deal_of_the_day->discount_type =='flat')
-{{ webCurrencyConverter(amount: $deal_of_the_day->discount) }}
@endif
@endif
@php($overallRating = getOverallRating($deal_of_the_day->product['reviews']))
@if($overallRating[0] != 0 )
@for($inc=1;$inc<=5;$inc++)
@if ($inc <= (int)$overallRating[0])
@elseif ($overallRating[0] != 0 && $inc <= (int)$overallRating[0] + 1.1)
@else
@endif
@endfor
@endif
{{ Str::limit($deal_of_the_day->product['name'], 80) }}
@if($deal_of_the_day->product->discount > 0)
{{ webCurrencyConverter(amount: $deal_of_the_day->product->unit_price) }}
@endif
{{ webCurrencyConverter(amount:
$deal_of_the_day->product->unit_price-(getProductDiscount(product: $deal_of_the_day->product, price: $deal_of_the_day->product->unit_price))
) }}