Vendor Information
Name:
{{$vendor->name}}
{{$vendor->name}}
Company:
{{$vendor->company_name ?? '-'}}
{{$vendor->company_name ?? '-'}}
Email:
{{$vendor->email ?? '-'}}
{{$vendor->email ?? '-'}}
Phone:
{{$vendor->phone}}
{{$vendor->phone}}
Address:
{{$vendor->address ?? '-'}}
@if($vendor->city || $vendor->country) {{$vendor->city}}{{$vendor->city && $vendor->country ? ', ' : ''}}{{$vendor->country}} @endif
{{$vendor->address ?? '-'}}
@if($vendor->city || $vendor->country) {{$vendor->city}}{{$vendor->city && $vendor->country ? ', ' : ''}}{{$vendor->country}} @endif
Tax ID/NID:
{{$vendor->tax_id ?? '-'}}
{{$vendor->tax_id ?? '-'}}
Payment Terms:
{{$vendor->payment_terms ?? '-'}}
{{$vendor->payment_terms ?? '-'}}
Status:
@if($vendor->is_active) Active @else Inactive @endif
@if($vendor->is_active) Active @else Inactive @endif
Financial Summary
Total Purchases:
৳{{number_format($totalPurchases, 2)}}
Total Paid:
৳{{number_format($totalPaid, 2)}}
Current Balance Due:
৳{{number_format($vendor->current_balance, 2)}}
Credit Limit:
৳{{number_format($vendor->credit_limit ?? 0, 2)}}
৳{{number_format($vendor->credit_limit ?? 0, 2)}}
Recent Purchases (Last 10)
| Purchase No | Date | Items | Total Amount | Paid | Due | Status |
|---|---|---|---|---|---|---|
| {{$purchase->purchase_no}} | {{$purchase->purchase_date ? $purchase->purchase_date->format('d M Y') : '-'}} | {{$purchase->items->count()}} items | ৳{{number_format($purchase->total_amount, 2)}} | ৳{{number_format($purchase->paid_amount, 2)}} | ৳{{number_format($purchase->total_amount - $purchase->paid_amount, 2)}} | @if($purchase->status == 'approved') Approved @elseif($purchase->status == 'draft') Draft @else Cancelled @endif |
| No purchases yet | ||||||