{% extends 'base.html' %} {% block title %}{{ customer.full_name }} - Customer Details{% endblock %} {% block content %}
Customer ID: {{ customer.customer_id }}
Date | Amount | Method | Status | Receipt |
---|---|---|---|---|
{{ payment.created_at|date:"M d, Y H:i" }} | KES {{ payment.amount|floatformat:2 }} | {{ payment.get_payment_method_display }} | {{ payment.get_status_display }} | {% if payment.mpesa_receipt_number %} {{ payment.mpesa_receipt_number }} {% elif payment.cash_receipt_number %} {{ payment.cash_receipt_number }} {% elif payment.reference_number %} {{ payment.reference_number }} {% else %} - {% endif %} |
Date | Type | Description | Amount | Balance After |
---|---|---|---|---|
{{ transaction.created_at|date:"M d, Y H:i" }} | {{ transaction.get_transaction_type_display }} | {{ transaction.description }} | {% if transaction.transaction_type == 'credit' %}+{% else %}-{% endif %}KES {{ transaction.amount|floatformat:2 }} | KES {{ transaction.balance_after|floatformat:2 }} |
{{ customer.service.name }}
No service assigned
Assign Service{{ customer.pppoe_username|default:"Not generated" }}
{{ customer.pppoe_password }}
{% else %}
Not generated
{% endif %}
{{ customer.router_mac }}
{{ customer.customer_id }}