@extends('master') @section('content') @php $customer = Session::get('customer'); $categoryType = $customer['catagory_type'] ?? 0; @endphp

My Account

Manage your account, orders and profile.

Home / My Account
{{ strtoupper(substr($customer['name'] ?? 'U', 0, 1)) }}
{{ $customer['name'] ?? '-' }}

{{ $customer['mobile'] ?? '-' }}

@if($categoryType == 0) My Orders @elseif($categoryType == 1) Order To Accept Order To Deliver @endif Profile Log Out
@if($categoryType == 0)

My Orders

View your order history.

@if(empty($userProducts)) @else @foreach($userProducts as $userProduct) @endforeach @endif
SL. No Voucher No Unit Price Status View
No Data Available!
{{ $userProduct['Serial'] }} {{ $userProduct['Voucher'] }} {{ $userProduct['Unit'] }} {{ $userProduct['Amount'] }} @if($userProduct['Staus'] == 0) Pending @else Shipped @endif
@elseif($categoryType == 1)

My Orders To Accept

Orders waiting for your acceptance.

@if(empty($ordersToAccept)) @else @foreach($ordersToAccept as $key => $order) @endforeach @endif
SL. No Name Voucher No Point Amount Adjust Point Action
No Data Available!
{{ $key + 1 }} {{ $order['Name'] }} {{ $order['Voucher'] }} {{ $order['Point'] }} {{ $order['Amount'] }} {{ $order['adjustPoint'] }}

My Orders To Deliver

Orders waiting for delivery.

@if(empty($ordersToDeliver)) @else @foreach($ordersToDeliver as $key => $order) @endforeach @endif
SL. No Name Voucher No Point Amount Action
No Data Available!
{{ $key + 1 }} {{ $order['Name'] }} {{ $order['Voucher'] }} {{ $order['Point'] }} {{ $order['Amount'] }}
@endif

Profile

Your personal information.

Name {{ $customer['name'] ?? '-' }}
Mobile {{ $customer['mobile'] ?? '-' }}
Address {{ $customer['address'] ?? '-' }}
Profession {{ $customer['profession'] ?? '-' }}
NID {{ $customer['nid'] ?? '-' }}
Father Name {{ $customer['father_name'] ?? '-' }}
Mother Name {{ $customer['mother_name'] ?? '-' }}
Facebook ID {{ $customer['facebook'] ?? '-' }}
Blood Group {{ $customer['blood'] ?? '-' }}
Nominee Name {{ $customer['nominee'] ?? '-' }}

Login Details

Manage your login password.

User Name {{ Session::get('user_name') }}
@endsection