@if($data->profile_pic)
}}/{{$data->profile_pic}})
@else
}})
@endif
@if(session()->has('is_team_member') && session()->get('is_team_member')==0)
Membership level
@if($plan)
{{$plan->name}}
${{$plan->price}}/{{$plan->frequency}}
@if(auth()->user()->pm_type && auth()->user()->pm_type=='visa')
}})
@elseif(auth()->user()->pm_type && auth()->user()->pm_type=='master')
}})
@else
}})
@endif
****{{auth()->user()->pm_last_four}}
@if($next_billing_date!="")
Your next billing date is {{$next_billing_date}}
@endif
{{$plan->points}} Pts
@if($plan->stripe_plan=="")
Must be invited by member
@else
Book up {{$plan->advance_duration}} {{$plan->advance_frequency}} in advance
@endif
{{$guests[$plan->num_of_guest]}} guests
@else
Guest
@endif
Transactions
| Date |
Status |
Points |
@foreach($points as $point)
@if($point->action=='MEMBERSHIP_CREDIT' || $point->action=='POINTS_PURCHASED')
| {{date('d M Y',strtotime($point->created_at))}} |
{{$points_action[$point->action]}} @if($point->plan_id) ({{$point->plan->name}}) @endif |
@if($point->amount)+{{$point->amount}} @else +0 @endif pts |
@endif
@endforeach
@endif
Points balance
Last month booking cost
{{$last_month_booking_cost}}pts
Current month booking cost
{{$current_month_booking_cost}}pts
Current balance
{{$current_balance}}pts
@if(session()->has('is_team_member') && session()->get('is_team_member')==0)
@endif
Last month payout cost
0 pts
Current month payout cost
0 pts
Transactions
| Date |
Status |
Points |
@foreach($points as $point)
@if($point->action=='MEMBERSHIP_CREDIT' || $point->action=='POINTS_PURCHASED')
| {{date('d M Y',strtotime($point->created_at))}} |
{{$points_action[$point->action]}} |
+{{$point->credit}}pts |
@elseif($point->receivedby_uuid==auth()->user()->uuid)
@if($point->action=='BOOK_EVENT' || $point->action=='BOOKING_CONFIRMED' || $point->action=='POINTS_TRANSFERED' || $point->action=='BOOKING_CANCELLED')
| {{date('d M Y',strtotime($point->created_at))}} |
{{$points_action[$point->action]}} |
+{{$point->credit}}pts |
@endif
@elseif($point->sentby_uuid==auth()->user()->uuid)
@if($point->action=='BOOK_EVENT' || $point->action=='BOOKING_CONFIRMED' || $point->action=='POINTS_TRANSFERED' || $point->action=='BOOKING_CANCELLED')
| {{date('d M Y',strtotime($point->created_at))}} |
{{$points_action[$point->action]}} |
-{{$point->credit}}pts |
@endif
@endif
@endforeach
@if(session()->has('is_team_member') && session()->get('is_team_member')==0)
@foreach($payment_methods as $method)
@if($method->card->brand && $method->card->brand=='visa')
@elseif($method->card->brand && $method->card->brand=='mastercard')
@elseif($method->card->brand && $method->card->brand=='amex')
@else
@endif
{{ ucfirst($method->card->brand) }}
|
.... {{ $method->card->last4 }} |
@if($method->id === optional(auth()->user()->defaultPaymentMethod())->id) Default @endif
|
|
@endforeach
@endif