Transactions
Total Revenue
${{ number_format($amount_sum ?? 0, 2) }}
Transfer Points
{{ $transfer_points ?? 0 }}
Outstanding Points
{{ $outstanding_points ?? 0 }}
Subscription revenue
${{ number_format($subs_revenue ?? 0,2) }}
Topup revenue
${{ number_format($topup_revenue ?? 0,2) }}
Unclaimed Points
{{ $unclaimed_revenue ?? 0 }}
| Date |
Transaction |
Amount |
Points |
User |
@foreach($data as $point)
| {{date('d M Y',strtotime($point->created_at))}} |
{{$points_action[$point->action]}} @if($point->plan_id) ({{$point->plan->name}}) @endif |
@if(!empty($point->amount))
{{convertCurrency($point->amount)}} {{session()->get('user_currency')}}
@else
N/A
@endif
|
@if(in_array($point->action, ['MEMBERSHIP_CREDIT', 'POINTS_PURCHASED', 'BOOKING_CANCELLED']))
-{{$point->credit}} Points
@else
+{{$point->credit}} Points
@endif
|
@if(isset($point->receivedby->fname))
{{$point->receivedby->fname}} {{$point->receivedby->lname}}
@endif
|
@endforeach
|
|
Subscription Tiers
| Name |
No. Of Guests |
Advance Booking |
Price |
Points Credit |
Discount |
Topup Discount |
Action |
@foreach($plans as $plan)
| {{$plan->name}} |
{{$plan->num_of_guest}} |
{{$plan->advance_duration}} {{ucfirst($plan->advance_frequency)}} |
${{$plan->price}} |
{{$plan->points + $plan->discount}} |
{{$plan->discount}} |
{{$plan->topup_discount}} |
|
@endforeach
Addon Services
| Service Name |
Description |
Price |
Status |
Created |
Action |
@foreach($services as $service)
| {{$service->name}} |
{{$service->description}} |
${{$service->price}} |
@if($service->status == 1)
Active
@else
Inactive
@endif
|
{{$service->created_at}} |
|
@endforeach