@if (!empty($item))
@php
$class = '';
if ($item['status'] == 'Buyable') {
$class = '';
} elseif ($item['status'] == 'Not Buyable') {
$class = '';
} elseif ($item['status'] == 'Disabled by Seller') {
$class = '';
} elseif ($item['status'] == 'Disabled by Takealot') {
$class = '';
} else {
$class = '';
}
@endphp
@php
echo $class;
@endphp
|
|
|
@php
$leadtime_decode = null;
$leadtime_qty = null;
$leadtime_decode = $item['leadtime_stock'];
$leadtime_qty = !empty($leadtime_decode[0]) && !empty($leadtime_decode[0]->quantity_available) ? $leadtime_decode[0]->quantity_available : 0;
@endphp
@if ($item['leadtime_days'] != null && !empty($leadtime_qty))
{{ 'My SOH :' }} {{ $leadtime_qty }}
@endif
@if ($item['stock_at_takealot_total'] > 0)
{{ 'In Stock : ' }} {{ $item['stock_at_takealot_total'] }}
@endif
@if ($item['stock_at_takealot_total'] <= 0 && $item['leadtime_days'] == null)
Out
Of Stock
@endif
|
{{--
@if (isset($takealotRePricing->status) && (!empty($takealotRePricing->min_price) && !empty($takealotRePricing->max_price)))
min_price) || empty($takealotRePricing->max_price) ? 'disabled' : '' }}
class="custom-control-input" value="{{ $takealotRePricing->status == 1 ? 0 : 1 }}"
wire:change="updateOfferStatus('{{ encrypt($takealotRePricing->id) }}',$event.target.value)"
id="customSwitchh{{ $key }}" @if (!empty($takealotRePricing->status) && $takealotRePricing->status == 1) checked @endif />
@endif
| --}}
R{{ $item['selling_price'] }}
|
R{{ $item['rrp'] }}
|
{{ $item['discount'] }}
|
{{--
| --}}
{{--
| --}}
@endif