INVOICE

Company Name

Bill To:

Name: {{ invoice.customer_name }}

Phone: {{ invoice.customer_phone }}

Invoice Details

Invoice #: {{ invoice.invoice_number }}

Date: {{ invoice.created_at|date:"Y-m-d" }}

Description: {{ invoice.description }}

Amount Due: KSh {{ invoice.amount }}

Status: {{ invoice.status|title }}

{% if invoice.status == 'pending' %}

Pay with M-Pesa

{% csrf_token %}
Format: 2547XXXXXXXX
{% elif invoice.status == 'paid' %}

Payment Successful!

This invoice has been paid. Thank you for your payment.

{% endif %}