@extends('frontend.layouts.app') @push('stylepush') @endpush @section('content') @php $promo_banner = frontend_section('promotional-offer'); @endphp
@include('user.partials.dashboard_sidebar')
banner.jpg

{{translate("Reward overview")}}

status == App\Enums\RewardPointStatus::PENDING->value) class="col-6" @else class="col-12" @endif >

{{ translate('Basic info') }}

{{ translate('Point') }}: {{$reward_log->point}} {{ translate('Product') }}: {{$reward_log->product ? $reward_log->product->name : "N/A" }} {{ translate('Order') }}: @if($reward_log->order) {{$reward_log->order->order_id}} @else N/A @endif {{ translate('Status') }}: @php echo reward_status($reward_log->status) @endphp {{ translate('Expired at') }}: {{ $reward_log->expired_at ? get_date_time($reward_log->expired_at) : 'N/A' }} {{ translate('Created at') }}: {{$reward_log->created_at ? get_date_time($reward_log->created_at) : 'N/A' }} {{ translate('Redeemed at') }}: {{$reward_log->redeemed_at ? get_date_time($reward_log->redeemed_at) : 'N/A' }}
@if($reward_log->status == App\Enums\RewardPointStatus::PENDING->value)
@php $conversionRate = (int) site_settings('customer_wallet_point_conversion_rate',1); $amount = round($reward_log->point / $conversionRate,4); @endphp

{{translate('You will get')}} {{short_amount($amount)}} {{translate('For')}} {{$reward_log->point}} {{translate('Point')}}

{{ translate('Redeemed Now') }}
@endif
@endsection @push('scriptpush') @endpush