@extends('layouts.supplier') @section('title', 'Profil Saya') @section('content') @php $supplier = Auth::guard('supplier')->user(); $activeProductsCount = $supplier ? $supplier->products()->where('approvalStatus', 'APPROVED')->where('isActive', true)->count() : 0; $totalProductsCount = $supplier ? $supplier->products()->count() : 0; $maxProducts = ($supplier && $supplier->maxActiveProducts) ? $supplier->maxActiveProducts : 20; $capacityPercentage = min(100, round(($activeProductsCount / max(1, $maxProducts)) * 100)); @endphp
Informasi akun bisnis, kontak, dan rekening pencairan dana Anda
Pemilik: {{ $supplier->ownerName ?? '-' }}
{{ $supplier->businessName ?? '-' }}
{{ $supplier->ownerName ?? '-' }}
{{ $supplier->code ?? '-' }}
{{ $supplier->productCategory ?? 'Umum / Makanan' }}
{{ $supplier->email ?? '-' }}
{{ $supplier->phone ?? '-' }}
{{ $supplier->address ?? '-' }}
{{ !empty($supplier->bankAccountNumber) ? chunk_split($supplier->bankAccountNumber, 4, ' ') : 'Belum diisi' }}
{{ $supplier->bankAccountHolderName ?? $supplier->ownerName ?? '-' }}
Uang hasil penjualan konsinyasi ditransfer langsung ke rekening di atas.