@component('admin.components.card', [
'header' => 'Outlets',
'collapse' => 1,
'class' => 'w-100 mb-0',
'withShadowClass' => 0,
'table' => 1,
'body_class' => 'overflow-hidden',
])
@component('admin.components.form_field', [
'class' => 'col-10 col-sm-4 col-md-4',
'label' => 'Use Default Settings',
'required' => false,
'description' => '',
'hasError' => false,
])
@endcomponent
@php
$id = "{$form_prefix}use_default_act";
@endphp
@component('admin.components.form_field', [
'class' => 'col-2 col-sm-8 col-md-8 mx-0 px-0',
'label' => '',
'required' => false,
'description' => '',
'hasError' => false,
])
@endcomponent
@component('admin.components.form_field', [
'class' => $class_left,
'label' => 'Chance Limit',
'required' => false,
'description' => '',
'hasError' => false,
])
@endcomponent
@component('admin.components.form_field', [
'class' => $class_right,
'label' => '',
'required' => false,
'description' => '',
'hasError' => false,
])
@php
$id = "{$form_prefix}mechanism";
@endphp
@foreach (['daily_limit' => 'Daily', 'lifetime_limit' => 'Lifetime'] as $val => $txt)
{{ $txt }}
@endforeach
@php
$id = "{$form_prefix}mechanism_qty";
@endphp
@component('admin.components.form_field', [
'label' => '',
'required' => false,
'description' => '',
'hasError' => $hasError,
])
New chances will only be reflected on the next day 12AM
@endcomponent
@endcomponent
@component('admin.setting.components.gamification_reward', [
'form' => $form,
'errors' => $errors,
'reward_qty_id' => $reward_qty_id,
'reward_type_id' => $reward_type_id,
'challenge_id' => rtrim($form_prefix, '_'),
'data_category' => $data_category,
'data_ignore_group_listen' => 1,
])
@endcomponent
@component('admin.components.form_field', [
'class' => $class_left,
'label' => 'Reward Title',
'required' => false,
'description' => '',
'hasError' => false,
])
@endcomponent
@php
$id = "{$form_prefix}title";
@endphp
@component('admin.components.form_field', [
'class' => $class_right,
'label' => '',
'required' => false,
'description' => '',
'hasError' => false,
])
@endcomponent
@component('admin.components.form_field', [
'class' => $class_left,
'label' => 'Reward Subtitle',
'required' => false,
'description' => '',
'hasError' => false,
])
@endcomponent
@php
$id = "{$form_prefix}subtitle";
@endphp
@component('admin.components.form_field', [
'class' => $class_right,
'label' => '',
'required' => false,
'description' => '',
'hasError' => false,
])
@endcomponent
@endslot
@slot('slot_footer')