@extends('layouts.layout') @section('content')
@foreach ($list as $index => $item) @php if ($item->type == 'parent_product') { $color = 'badge badge-success'; $tiptoolTitle = 'Parent Product'; } elseif ( ($item->type == 'child_product' && $item->sama_parent_sku == '') || empty($item->sama_parent_sku) ) { $color = 'badge badge-primary'; $tiptoolTitle = 'Child product with no parent mapping'; } else { $color = 'badge badge-info'; $tiptoolTitle = 'Child Product'; } @endphp @endforeach
Name Sku on parent sku fractionsemimount Main category optins
{{ $item->name }} {{ $item->sama_sku }} {{ $item->type == 'parent_product' ? 'Parent Product' : 'Child Product' }}
{{ $item->sama_parent_sku }} {{-- {{ $item->sama_parent_sku }} --}}
{{ $item->fractionsemimount }} {{ $item->menu_name }}
Showing {{ $list->firstItem() }} to {{ $list->lastItem() }} of total {{ $list->total() }} entries

{{ $list->links() }}

{{-- create product model --}} {{-- add price model start --}} {{-- add price model end --}} @push('scripts') @endpush @endsection