@extends('front.layouts.master') @section('title', isset($title) ? $title : 'Home') @section('description', isset($description) ? $description : '') @section('keywords', isset($keywords) ? $keywords : '') @section('content')
@include('front.layouts.include.user_profile_sidebar', ['menu' => 'loyaltyPoints'])

{{ __('Loyalty Points') }}

Active points
{{ $activePoints }} points
=
{{ $amount }} JOD
Pending points
{{ $pendingPoints }} points
=
{{ $pendingAmount }} JOD
{{-- filter --}} @include('front.pages.loyalty_points.partials.filter') {{-- /filter --}}
@foreach ($userPoints as $userPoint) @endforeach
Source Added Date Status Active Date Expiry Date Amount
{{ $userPoint->source }} {{ date('Y-m-d', strtotime($userPoint->created_at)) }} {{ $userPoint->status }} {{ $userPoint->activate_date }} {{ $userPoint->expiry_date }} {{ $userPoint->points }}
{{-- pagination --}} {{ $userPoints->appends(request()->input())->links('vendor.pagination.careers') }} {{-- / --}}
{{-- Information Modal --}} @include('front.pages.loyalty_points.partials.information_modal') {{-- /Information Modal --}} @endsection