@extends('layouts.sidebar') @section('title', 'Nomadic Studios | Manage Users') @section('content')

Back to manage users

@if($data->profile_pic) @else @endif
{{$data->languages}}
{{$data->user_role->role_name}}
@if(isset($data->user_location->location)){{$data->user_location->location}}@endif
@if($data->status==2)Approved @elseif($data->status==3)Denied @elseif($data->status==4)Suspended @elseif($data->status==5)Blocked @endif
@if($data->status!=4)
@endif @if($data->status!=5)
@endif @if($data->status==4 || $data->status==5)
@endif
Membership level
@if($plan)
{{$plan->name}}

${{$plan->price}}/{{$plan->frequency}}

{{$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
@foreach($points as $point) @if($point->action=='MEMBERSHIP_CREDIT' || $point->action=='POINTS_PURCHASED') @endif @endforeach
Date Status Total cost
{{date('d M Y',strtotime($point->created_at))}} {{$points_action[$point->action]}} @if($point->plan_id) ({{$point->plan->name}}) @endif @if($point->amount){{convertCurrency($point->amount)}}@else 0 @endif {{session()->get('user_currency')}}
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
Transactions
@foreach($points as $point) @if($point->action=='MEMBERSHIP_CREDIT' || $point->action=='POINTS_PURCHASED') @elseif($point->receivedby_uuid==auth()->user()->uuid) @if($point->action=='BOOK_EVENT' || $point->action=='BOOKING_CONFIRMED' || $point->action=='POINTS_TRANSFERED' || $point->action=='BOOKING_CANCELLED') @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') @endif @endif @endforeach
Date Status Points
{{date('d M Y',strtotime($point->created_at))}} {{$points_action[$point->action]}} +{{$point->credit}}pts
{{date('d M Y',strtotime($point->created_at))}} {{$points_action[$point->action]}} +{{$point->credit}}pts
{{date('d M Y',strtotime($point->created_at))}} {{$points_action[$point->action]}} -{{$point->credit}}pts
@endsection @section('footer_scripts') @endsection