@if(isset($result) && count($result)>0)
@php
$i = 1;
@endphp
@foreach ($result as $r_item)
@php
if($r_item->is_schedule==1){
$currentDate=strtotime(currentDate(true));
$startDate = strtotime($r_item->start_date);
$endDate = strtotime($r_item->end_date);
if(!($currentDate > $startDate && $currentDate < $endDate)) {
continue;
}
}
@endphp
{{ numberFormat($r_item->regular_price) }}
{{ numberFormat($r_item->offer_price) }}
@endforeach
@else