@extends('front.design1.partials.master') @section('content')
  • {{ __('v2/front_site.my_dashboard') }}
  • {{ __('v2/front_site.history') }}
  • @if($userDetails->user_type == 2)
  • {{ __('v2/front_site.generated_invoice') }}
  • {{ __('v2/front_site.employees') }}
  • @endif
  • {{ __('v2/front_site.gift_cards') }}
  • {{ __('v2/front_site.addresses') }}
  • {{ __('v2/front_site.favorite_items') }}
  • {{ __('v2/front_site.favorite_stores') }}
  • {{ __('v2/front_site.close_account') }}
  • {!! __('v2/front_site.logout') !!}

{!! __('v2/front_site.dashboard') !!}

{{ $userDetails->full_name }} {{ $userDetails->surname }} @if ($userDetails->company_name) ({{ $userDetails->company_name }}) @endif

{{--

{!! __('v2/front_site.dashboard_subheading') !!}

--}}
{{--

{!! __('v2/front_site.account_dashboard') !!}

--}}

{!! __('v2/front_site.edit_profile') !!}

{!! Form::open(['route' => 'front.d1.edit-profile', 'method' => 'POST', 'class' => 'row g-3', 'id' => 'dySave']) !!}
@if($userDetails->user_type == 2)
@endif
{!! __('v2/front_site.update_phone') !!}
{!! $userDetails->dial_code !!}
{!! __('v2/front_site.update_email') !!}
{!! Form::token() !!}
{!! Form::close() !!}

{!! __('v2/front_site.my_order') !!}

{{ __('v2/front_site.order_id') }} {{ __('v2/front_site.date') }} {{ __('v2/front_site.status') }} {{ __('v2/front_site.total') }} {{ __('v2/front_site.action') }}
@if($userDetails->user_type == 2)

{{ __('v2/front_site.generated_invoice') }}

{{ __('common.sr-no') }} {{ __('v2/front_site.invoice_no') }} {{ __('v2/front_site.invoice_date') }} {{ __('v2/front_site.created_by') }} {{ __('v2/front_site.created_at') }} {{ __('v2/front_site.action') }}

{{ __('v2/front_site.employees') }}

{!! Form::open(array('route' => 'front.d1.invite-employee', 'method' => 'POST' ,'id' => 'dySave')) !!}
{!! Form::text('email',null,['class' => 'form-control' ,'placeholder' => __('v2/front_site.employee_email')]) !!}
{!! Form::close() !!}
{{ __('users.email') }} {{ __('users.invite_date') }} {{ __('common.status') }} {{ __('common.action') }}
@endif

{!! __('v2/front_site.gift_cards') !!}

{!! Form::open(array('route' => 'front.d1.redeem-code', 'method' => 'POST' ,'id' => 'dySave','class'=>'new_design')) !!}
{!! Form::text('redeem_code',null,['class' => 'form-control' ,'placeholder' => __('v2/front_site.gift_card_code')]) !!}
{!! Form::close() !!} @if (session('giftcard_order_message'))
{{ session('giftcard_order_message') }}
@php session()->forget(['giftcard_order_message','gift_card_payment_status' ]); @endphp @endif

{!! __('v2/front_site.current_balance') !!} : {!! numberFormat($giftCardBalance) !!}

{!! __('v2/front_site.purchased_gift_cards') !!}

{{ __('v2/front_site.created_at') }} {{ __('v2/front_site.gift_card_amount') }} {{ __('v2/front_site.gift_card_code') }} {{ __('v2/front_site.redeem_date') }} {{ __('v2/front_site.share') }}

{!! __('v2/front_site.gift_cards_usage') !!}

{{ __('v2/front_site.created_at') }} {{ __('v2/front_site.order') }} {{ __('v2/front_site.action') }} {{ __('v2/front_site.gift_card_amount') }}

{{ __('v2/front_site.address') }} {!! __('v2/front_site.add_address') !!}

@if (count($address) > 0) @php $i = 1; @endphp
    @foreach ($address as $addresses)
  • {!! $addresses->type !!}

    {!! $addresses->address !!}

  • @php $i++; @endphp @endforeach
@else

{{ __('v2/front_site.no_record_found') }}

@endif

{{ __('v2/front_site.favorite_items') }}

@if (count($favoriteItems) > 0)
@foreach ($favoriteItems as $key => $item)

{!! $item->name !!}

{!! numberFormat($item->offer_price) !!}
@endforeach
@else

{{ __('v2/front_site.no_record_found') }}

@endif

{{ __('v2/front_site.favorite_stores') }}