@php $isEdit = ($formMode ?? 'create') === 'edit'; $combo = $combo ?? null; $storeId = $storeId ?? null; $redirectUrl = $redirectUrl ?? null; @endphp
@csrf @if (($formMethod ?? 'POST') === 'PUT') @method('PUT') @endif @if ($redirectUrl) @endif
@include('alerts.error_messages')
{{ $isEdit ? trans('lang.combo_edit') : trans('lang.combo_create') }}
{{ trans('lang.combo_name_help') }}
{{ trans('lang.combo_description_help') }}
{{ trans('lang.item_price_help') }}
@if ($isEdit && $combo?->media && $combo->media->count())
@foreach ($combo->media as $media) @endforeach
Image Action
Product Image
@endif
@if ($isEdit && $combo?->products) @foreach ($combo->products as $index => $item) @endforeach @endif
Product Quantity
is_active ? 'checked' : '' }}>
feature_item ? 'checked' : '' }}>
publish ? 'checked' : '' }}>
@if ($redirectUrl) {{ trans('lang.cancel') }} @else {{ trans('lang.cancel') }} @endif
@if ($isEdit) @endif