@extends('admin.master') @section('content')

{{ $userDetails->company_name ?? '' }} Profile

{{-- PROFILE TAB --}}
Profile Information
@if(auth('admin')->user()->role === 'admin') Login as User @endif
Contact Person{{ $userDetails->name }}
Company Name{{ $userDetails->company_name ?? '-' }}
Vat Number{{ $userDetails->vat_number ?? '-' }}
Email Address{{ $userDetails->email }}
Phone Number{{ $userDetails->phone }}
Website@if($userDetails->website){{ $userDetails->website }}@else-@endif
Annual Spending{{ $userDetails->annual_spending ?? '-' }}
Country{{ $userDetails->country ?? '-' }}
City{{ $userDetails->city ?? '-' }}
Address{{ $userDetails->address ?? '-' }}
Registered On{{ $userDetails->created_at->format('d M Y, h:i A') }}
Update Profile
@if(session('success'))
{{ session('success') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
Email cannot be changed
Change Password
@csrf
{{-- ORDERS TAB --}}

Orders

Sr No. Order ID Date Company Contact Person Phone Action

Sample Requests

Sr No. Number Date Product Colors Sizes Status Action

Factory Quotation

ID Company Name Country City Product Quantity Assigned CSR Action

Factory Orders

Sr No. Order Date Product Quantity Total Status Action
{{-- PAYMENT & FINANCE TAB --}}
Payment & Finance Summary
Total Orders {{ $totalOrders }}
Credit Allowed {{ number_format($totalCreditAmount, 2) }}
Paid {{ number_format($totalPaid, 2) }}
Pending Amount {{ number_format($totalPending, 2) }}
Total Credit Days {{ $creditAllowedDays }}
{{-- CREDIT SETTINGS TAB --}}
Credit Settings
@csrf
{{-- CUSTOMER PRICING TAB --}}
Customer Specific Pricing
Default Price + White Color Price Only
Note: Default Price applies to all colors except White. White Color Price is only for White color.
@foreach($products as $product) @endforeach
Product Default Price (All Colors) White Color Price Action
{{ $product->name }}
{{ $product->product_code }}
@if(!empty($customerPrices[$product->id]['default_price']) || !empty($customerPrices[$product->id]['white_price'])) @endif
Status: @php $approvalStatus = $userDetails->approval_status ?? 'approved'; $statusClass = $approvalStatus === 'approved' ? 'bg-success' : ($approvalStatus === 'blocked' ? 'bg-danger' : 'bg-warning text-dark'); @endphp {{ ucfirst($approvalStatus) }}
@if($userDetails->approval_status === 'approved')
@csrf
@else
@csrf
@endif
@csrf

Use this only as a guide. If the customer selected the wrong model at signup, change it here. The discount above applies to this customer only.

Business model Who it is for How they buy
Retail shop A shop that sells uniforms to walk-in customers. Buys to resell in smaller quantities. Medium discount.
Wholeseller A trader who supplies other shops or large accounts. Buys in bulk to resell. Highest discount.
@endsection @push('scripts') @endpush