@php $tab_items = ['reward'=>'Rewards Available','wallet'=>'Rewards Downloaded']; $is_show_point = data_get($uiConfigs, 'showPoint', $is_show_point ?? true); if(!$is_show_point){ unset($tab_items['reward']); } $campaign_status = getCampaignStatus(); @endphp @once @push('script') @endpush @endonce @section('script') @append @component(getPopupLayout(), ['id' => 'popup_rewards'])
{{ $is_show_point ? __('enterprise.titlePointRedemptionCatalogue') : __('enterprise.titleVoucherWallet') }}
{{ __('enterprise.labelMyPoints') }}:
@if($is_show_point) @endif
@foreach($tab_items as $tab=>$name) @php $active = $tab==='wallet' && !$is_show_point ? $loop->last : $loop->first; @endphp
@include('components.utility.loading')
@include('components.main.voucher-card')
@endforeach
@endcomponent @component(getPopupLayout(), ['id' => 'popup_attempt_plant_reward_not_synced'])
voucher image

{{ __('heading.title_are_you_sure') }}

{!! __( htmlentities(__('enterprise.labelRedemptionConversionDescription')), [ 'num_point' => $is_show_point ? ('500 ' . htmlentities(__('enterprise.labelPoint')) . '') : '', 'voucher_name' => '30% off selected items at Tomei' ] ) !!} {{-- You will convert 500 token to 30% off selected items at Tomei --}}

@endcomponent @component(getPopupLayout(), ['id' => 'popup_attempt_plant_reward_no_token'])
{{ __('heading.title_oops') }}

{{ __('enterprise.labelRedemptionNotEnoughPointsConversion') }}

@endcomponent @component(getPopupLayout(), ['id' => 'popup_attempt_plant_reward_loading'])
{{ __('label.loading') }}...
{{ __('label.loading') }}...
@endcomponent @component(getPopupLayout(), ['id' => 'popup_attempt_reward_need_address']) @include('components.main.' . getCustomizeViewPath('popup.address_form', 'address-form-global'), ['cta_id'=>'popup_reward-submit-address']) @endcomponent @component(getPopupLayout(), ['id' => 'popup_attempt_plant_reward_redemption_confirmation'])
@if(config('sys.reward_marketplace.confirmation_ui_type') === 'type2')

{{ __('heading.title_are_you_sure') }}

voucher image
30% off selected items at Tomei
@if ($is_show_point) 500 {{ __('label.pts') }} @endif


@else voucher image

{{ __('heading.title_are_you_sure') }}

{!! __( htmlentities(__('enterprise.labelRedemptionConversionDescription')), [ 'num_point' => $is_show_point ? ('500 ' . htmlentities(__('enterprise.labelPoint')) . '') : '', 'voucher_name' => '30% off selected items at Tomei' ] ) !!} {{-- You will convert 500 points for 30% off selected items at Tomei --}}

{{-- Terms and Conditions:
--}}

@endif
@endcomponent @component(getPopupLayout(), ['id' => 'popup_attempt_plant_reward_redemption_success'])

{!! __('enterprise.titleRewardDownloaded') !!}

{{--

Please find the voucher in "My Voucher" tab on your CapitaStar App.

--}} {{-- --}}{{--

How to find voucher

--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{--
--}}

{{ __('enterprise.labelRedemptionSuccessDescription')}}

@endcomponent @component(getPopupLayout(), ['id' => 'popup_attempt_plant_reward_redemption_error'])

@endcomponent @component(getPopupLayout(), ['id' => 'popup_attempt_use_digital_voucher'])
Redeem this reward
@include('components.main.6-digit-pin', ['id'=> 'reward_digital_voucher_pin'])

@endcomponent @component(getPopupLayout(), ['id' => 'congrats_popup']) @include('components.spinandwin.popup.congrats') @endcomponent @component(getPopupLayout(), ['id' => 'popup_attempt_reward_need_fund_transfer_details']) @include('components.main.' . getCustomizeViewPath('popup.cash_voucher_form', 'cash-voucher-form-global'), ['cta_id'=>'popup_reward-submit-fund-details']) @endcomponent @component(getPopupLayout(), ['id' => 'fund_transfer_congrats_popup']) @include('components.spinandwin.popup.fund_transfer_congrats') @endcomponent