در این بخش میتوانید لینکها و کدهای مرجع محصول اصلی و آپشنهای آن را مدیریت کنید. این اطلاعات فقط برای مدیران قابل مشاهده است.
کالای اصلی: {{ $item->title }} (کد {{ $item->coding_maintain_id && $item->CodingMaintain ? $item->CodingMaintain->title : '-' }})
لینکهای مرجع:
@php
$productLinks = $item->ReferenceLinksCodes()->where('type', 'link')->whereNull('option_id')->orderBy('position')->get();
@endphp
@if($productLinks->count() > 0)
@foreach($productLinks as $link)
@endforeach
@else
لینکی ثبت نشده است.
@endif
@if($productLinks->count() < 3)
لینک جدید
@endif
کدهای مرجع:
@php
$productCodes = $item->ReferenceLinksCodes()->where('type', 'code')->whereNull('option_id')->orderBy('position')->get();
@endphp
@if($productCodes->count() > 0)
@foreach($productCodes as $code)
@endforeach
@else
کدی ثبت نشده است.
@endif
@if($productCodes->count() < 3)
کد جدید
@endif
@if(count($option_data) > 0)
@foreach($option_data as $option_item)
آپشن: {{ $option_item->title }} ({{ $option_item->irc ? $option_item->irc : '-' }})
لینکهای مرجع:
@php
$optionLinks = $option_item->ReferenceLinksCodes()->where('type', 'link')->orderBy('position')->get();
@endphp
@if($optionLinks->count() > 0)
@foreach($optionLinks as $link)
@endforeach
@else
لینکی ثبت نشده است.
@endif
@if($optionLinks->count() < 3)
لینک جدید
@endif
کدهای مرجع:
@php
$optionCodes = $option_item->ReferenceLinksCodes()->where('type', 'code')->orderBy('position')->get();
@endphp
@if($optionCodes->count() > 0)
@foreach($optionCodes as $code)
@endforeach
@else
کدی ثبت نشده است.
@endif
@if($optionCodes->count() < 3)
کد جدید
@endif
@endforeach
@endif
@if($activeEditProduct)
مرحله بعدی
مرحله قبلی
@endif
بازگشت
{{ session('message') }}
{{ session('error') }}