@extends('layouts.admin-layout') @section('content')
@include('includes.messages')

User Details

@if(count($userdata) == 0)

{{ trans('admin::users.pages.no_record_found') }}

@else @if($userdata->marital!='Single') @endif @if($userdata->marital!='Single') @endif
Unique ID Image Name DOB Gender Marital StatusAnniversary DateLogin type Email Mobile City State
{{ $userdata->referral_code }} {{ $userdata->name }} {{ date('d-F', strtotime($userdata->dob)) }} {{ $userdata->gender }} {{ $userdata->marital }} {{ $userdata->anniversary_date }} {{ $userdata->login_type }} {{ $userdata->email }} {{ $userdata->mobile }} {{ $userdata->city }} {{ $userdata->state }}
@endif

Coupon Details

@if(count($rewards) == 0)

{{ trans('admin::users.pages.no_record_found') }}

@else @foreach ( $rewards as $reward ) @endforeach
Rewards Name Coupon Code Coupon Claimed Coupon Claimed Date Merchant Feedback
{{ $reward->rewards->name }} {{ $reward->coupon_code }} @if($reward->is_used) Yes @else No @endif @if($reward->is_used) {{$reward->updated_at}} @endif {{ $reward->feedback }}
@endif

@if($loyalty == 1)

Stamp Details

@if(count($points) == 0)

{{ trans('admin::users.pages.no_record_found') }}

@else @foreach ( $points as $point ) @endforeach
Stamp Stamp Received Date Bill Number Valid Till Stamp Used Merchant Feedback
{{ $point->points }} {{ $point->created_at }} {{ $point->bill_no }} {{ $point->valid_till }} @if($point->point_used) No @else Yes @endif {{ $point->feedback }}
@endif

@endif @if($loyalty == 2)

Points Details

@if(count($points) == 0)

{{ trans('admin::users.pages.no_record_found') }}

@else @foreach ( $points as $point ) @endforeach
Points Points Received Date Bill No Bill Amount Points Used Merchant Feedback Valid Till
{{ $point->original_points }} {{ $point->created_at }} {{ $point->bill_no }} {{ $point->bill_amount }} @if($point->points != 0) No @else Yes @endif {{ $point->feedback }} {{ $point->valid_till }}
@endif

@endif

User Feedback

@if(count($feedbacks) == 0)

{{ trans('admin::users.pages.no_record_found') }}

@else @foreach ( $feedbacks as $value ) @endforeach
Rewards Name Ratings Comments Date
{{ $value->class }} {{ $value->rating }} {{ $value->comments }} {{ $value->created_at }}
@endif

User Login History

@if(count($history) == 0)

{{ trans('admin::users.pages.no_record_found') }}

@else @foreach ( $history as $his ) @endforeach
Date
{{ $his->created_at }}
@endif
@section('scripts') @stop @stop