@extends('layouts.front-end.app') @section('title',\App\CPU\translate('My Loyalty Point')) @section('content')

{{\App\CPU\translate('my_loyalty_point')}}

@include('web-views.partials._profile-aside')
@php $wallet_status = App\CPU\Helpers::get_business_settings('wallet_status'); $loyalty_point_status = App\CPU\Helpers::get_business_settings('loyalty_point_status'); @endphp
{{\App\CPU\translate('loyalty_point_history')}}
{{\App\CPU\translate('total_loyalty_point')}} : {{$total_loyalty_point}}
@if ($wallet_status == 1 && $loyalty_point_status == 1) @endif
@foreach($loyalty_point_list as $key=>$item) @endforeach
{{\App\CPU\translate('SL')}}
{{\App\CPU\translate('transaction_type')}}
{{\App\CPU\translate('credit')}}
{{\App\CPU\translate('debit')}}
{{\App\CPU\translate('balance')}}
{{\App\CPU\translate('date')}}
{{$loyalty_point_list->firstItem()+$key}} {{str_replace('_', ' ',$item['transaction_type'])}} {{ $item['credit']}} {{ $item['debit']}} {{ $item['balance']}} {{$item['created_at']}}
@if($loyalty_point_list->count()==0)
{{\App\CPU\translate('no_transaction_found')}}
@endif
@endsection @push('script') @endpush