({{!empty($takealotRePricing->total()) ? $takealotRePricing->total() : 0 }}) results found
{{-- --}}
{{-- listview started --}} @if($view=='list')
@if(!empty($takealotRePricing) && count($takealotRePricing)>0) @foreach($takealotRePricing->chunk(10) as $chunk) @foreach($chunk as $key=>$item) @php $class="badge-light-primary"; if($item->offer->status=='Buyable') { $class="badge-light-success"; } else if($item->offer->status=='Not Buyable') { $class="badge-light-danger"; } elseif($item->offer->status=='Disabled by Seller') { $class="badge-light-dark"; } elseif($item->offer->status=='Disabled by Takealot') { $class="badge badge-warning"; } @endphp
{{($item->winner==1) ? 'Winner' : 'Loser'}}
  • {{$item->offer->status}} @if($item->winner==1) @else @endif @if(!empty($item->min_price) && $item->min_price==$item->offer->selling_price)You have reached min price@endif
  • @if(!empty($item->takealotOfferDetails->star_rating))
  • ({{$item->takealotOfferDetails->star_rating}})
  • @endif
Your Price:R{{$item->offer->selling_price}}
Wining Price:R{{$item->winning_price}}
Sellers:{{!empty($item->offer->takealotOfferDetails->total_sellers) ? $item->offer->takealotOfferDetails->total_sellers : 0}}
@if(!empty($item->winner_account_name))
Winner:{{$item->winner_account_name}}
@endif @if(!empty($item->stock_status))
Winner Stock:{{$item->stock_status}}
@endif
R{{$item->offer->selling_price}}
{{$item->offer->title}} By {{ (!empty($item->offer->takealotOfferDetails->takealotBrands)) ? $item->offer->takealotOfferDetails->takealotBrands->name : 'None'}}
@if(!empty($item->offer->takealotCompetitionHistory)) @foreach($item->offer->takealotCompetitionHistory as $history)

Your Price:{{$history->your_price}} Comp Price:{{$history->competitor_price}} Percentage:{{$history->percentage}} Current Status:{{$history->status}} Last Status:{{$history->status}} Updated At:{{$history->updated_at}}

@endforeach @endif
{{($item->status==1) ? 'Enabled' : 'Disabled'}}: min_price) || empty($item->max_price)) ? 'disabled' : ''}} class="custom-control-input" value="{{($item->status== 1) ? 0 : 1}}" wire:change="updateStatus('{{encrypt($item->id)}}',$event.target.value)" id="customSwitchh{{$key}}" @if($item->status==1) checked @endif />
@endforeach @endforeach @else
No Offers Found!
@endif @if($readyToLoad == false)
@endif
@endif {{-- listview ended --}} {{-- gridview started --}} @if($view=='grid')
@if(!empty($takealotRePricing) && count($takealotRePricing)>0) @foreach($takealotRePricing->chunk(10) as $chunk) @foreach($chunk as $key=>$item) @php $class="badge-light-primary"; if($item->offer->status=='Buyable') { $class="badge-light-success"; } else if($item->offer->status=='Not Buyable') { $class="badge-light-danger"; } elseif($item->offer->status=='Disabled by Seller') { $class="badge-light-dark"; } elseif($item->offer->status=='Disabled by Takealot') { $class="badge badge-warning"; } @endphp
{{($item->winner==1) ? 'Winner' : 'Loser'}}
img-placeholder

{{$item->offer->title}} By{{ (!empty($item->offer->takealotOfferDetails->takealotBrands)) ? $item->offer->takealotOfferDetails->takealotBrands->name : 'None'}}
{{$item->offer->sku}}
{{$item->offer->tsin_id}}

Your Price:R{{$item->selling_price}}
Sellers:{{!empty($item->offer->takealotOfferDetails->total_sellers) ? $item->offer->takealotOfferDetails->total_sellers : 0}}
@if(!empty($item->winner_account_name))
Winner:{{$item->winner_account_name}}
@endif @if(!empty($item->stock_status))
Winner Stock:{{$item->stock_status}}
@endif
{{($item->status==1) ? 'Enabled' : 'Disabled'}}: status==1) checked @endif />

Min Price
{{--

-

--}}
Max Price

@endforeach @endforeach @else
No Offers Found!
@endif @if($readyToLoad == false)
@endif
@endif {{-- gridview ended --}} @if(!empty($takealotRePricing))
{{ $takealotRePricing->onEachSide(3)->links() }}
@endif