@extends('layouts.front-end.app') @section('title', translate('my_loyalty_point')) @section('content')
@include('web-views.partials._profile-aside')
{{translate('loyalty_point')}}
{{translate('how_to_use')}}
  • {{translate('convert_your_loyalty_point_to_wallet_money')}}.
  • {{translate('minimum')}} {{ $loyaltyPointMinimumPoint }} {{translate('points_required_to_convert_into_currency')}}

{{translate('Total Loyalty Point')}}

{{ $totalLoyaltyPoint ?? 0 }}

{{translate('how_to_use')}}
  • {{translate('convert_your_loyalty_point_to_wallet_money')}}.
  • {{translate('minimum')}} {{ $loyaltyPointMinimumPoint }} {{translate('points_required_to_convert_into_currency')}}
@if ($walletStatus == 1 && $loyaltyPointStatus == 1) @endif
@if ($walletStatus == 1 && $loyaltyPointStatus == 1) @endif
{{ translate('Transaction_History') }}
@foreach($loyaltyPointList as $key=> $item)
@if($item['debit'] != 0) @else @endif {{ $item['debit'] != 0 ? ' - '.$item['debit'] : ' + '.$item['credit'] }}
{{str_replace('_', ' ',$item['transaction_type'])}}
{{$item['created_at']}}
@if($item['debit'] != 0)

{{translate('debit')}}

@else

{{translate('credit')}}

@endif
@endforeach
@if($loyaltyPointList->count()==0)
{{translate('you_do_not_have_any')}}
{{ request('type') != 'all' ? ucwords(translate(request('type'))) : '' }} {{translate('transaction_yet')}}
@endif
@if ($walletStatus == 1 && $loyaltyPointStatus == 1) @endif
@endsection @push('script') @endpush