{% extends 'base.html' %} {% load static %} {% block title %}{{ title }} - 3ncount2026{% endblock %} {% block page_title %}{{ title }}{% endblock %} {% block page_actions %} Back to Invoices {% endblock %} {% block extra_css %} {% endblock %} {% block content %}
{% csrf_token %}

Invoice Information

{{ form.customer }} {% if form.customer.errors %}
{{ form.customer.errors }}
{% endif %}
{{ form.invoice_number }} Auto-generated if left empty
{{ form.invoice_date }}
{{ form.due_date }}
{{ form.status }}

Invoice Items

{{ formset.management_form }}
{% for form in formset %}
{{ form.id }}
{{ form.DELETE }}
Item #{{ forloop.counter }}
{{ form.description }} {% if form.description.errors %}
{{ form.description.errors }}
{% endif %}
{{ form.quantity }}
{{ form.unit_price }}
{{ form.account }}
{{ form.line_number }}
{% endfor %}

Additional Information

{{ form.notes }} Not visible to customer
{{ form.terms }} Visible on invoice

Summary

{{ form.sst_rate }}

Subtotal: RM 0.00
SST (8%): RM 0.00
Total: RM 0.00

Cancel
{% endblock %} {% block extra_js %} {% endblock %}