Excel Sheet Uploading...
 
 
 
@include('modals.superAdmin.item.item.viewitem')
@if (count($items) > 0) @foreach ($items as $key => $item) @php if($item) { $text = $item->name; if (strpos($text, ' - ') !== false) { list($name, $volume) = explode(' - ', $text); } else { $name = $text; $volume = ''; } }else{ $text =""; } @endphp @php if ($item->variation) { $skus = $item->variation->sku; if ($skus) { $formattedSkus = str_pad($skus, 5, '0', STR_PAD_LEFT); } else { $formattedSkus = '--'; } } else { $formattedSkus = '--'; } @endphp @endforeach @else @endif
S.No Display Name Name Unit Category Brand SKU PPP MRP Status Action
{{ $items->firstitem() + $key }} {{ $item->name }} @if ($name) {{ $name }} @else -- @endif @if ($volume) {{ $volume }} @else -- @endif @if ($item->category) {{ $item->category->name }} @else -- @endif @if ($item->brand) {{ $item->brand->name }} @else -- @endif {{ $formattedSkus }} ₹ @if($item->variation){{ number_format($item->variation->pp_price, 2) }}@else -- @endif ₹ @if($item->variation){{ number_format($item->variation->mrp, 2) }}@else -- @endif
status == 1 ? 'checked' : '' }} type="checkbox" role="switch" wire:click="updateStatus($event.target.checked,'{{ $item->id }}')">
 

No Record Found

@if ($items) {{ $items->links('vendor.livewire.bootstrap') }} @endif