@extends('website.layouts.master') @section('site_title')نقاطي - @endsection @section('content')
نقاطي

لديك {{ Auth::guard('web')->user()->user_points()->sum('amount') }} نقطة في رصيدك

@include('website.includes.user_menu')
النقاط المحصلة و المستخدمة خلال اخر 12 شهر

#

تاريخ العملية

عدد النقاط

السبب

تاريخ الانتهاء

@if (Auth::guard('web')->user()->user_points()->count()) @foreach (Auth::guard('web')->user()->user_points()->orderBy('created_at', 'desc')->get() as $point)

{{ $loop->index+1 }}

{{ $point->created_at->format('Y-m-d') }}

{{ $point['amount'] }}

{{ $point['reason'] }}

{{ \Carbon\Carbon::parse($point->created_at)->addYear()->format('Y-m-d') }}

@endforeach @else

لا يوجد لديك نقاط في رصيدك حالياً, اطلب الآن للحصول على نقاط أكثر

@endif
@endsection @push ('page_level_style') @endpush @push ('page_level_script') @endpush