{% extends 'base.html' %} {% load humanize %} {% block title %}Customers - Ghana Wholesale{% endblock %} {% block content %}
| Customer Code | Name | Phone | Type | Credit Limit | Balance | Available | Status | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ customer.customer_code }} | {{ customer.name }} | {{ customer.phone }} | {{ customer.get_customer_type_display }} | GH₵ {{ customer.credit_limit|floatformat:2 }} | {% if customer.credit_balance > 0 %} GH₵ {{ customer.credit_balance|floatformat:2 }} {% else %} GH₵ 0.00 {% endif %} | GH₵ {{ customer.available_credit|floatformat:2 }} | {% if customer.is_active %} Active {% else %} Inactive {% endif %} | |
|
No customers found |
||||||||