{% extends "base_authenticated.html" %} {% block title %}Invoice #{{ invoice.id }}{% endblock %} {% block content_inner %}

Invoice #{{ invoice.id }}

{{ invoice.get_status_display }} {% if user.is_admin %} Edit {% endif %}

Project

{{ invoice.project.name }}

Client

{{ invoice.client.username }}

Amount

${{ invoice.amount }}

Due Date

{{ invoice.due_date }}

Payments

{% if user.is_admin %} Record Payment {% endif %}
{% for payment in payments %} {% empty %} {% endfor %}
DateMethodAmountReference
{{ payment.paid_at|date:"M d, Y H:i" }}{{ payment.method }}${{ payment.amount }}{{ payment.reference|default:"-" }}
No payments recorded yet.
{% url 'invoice_delete' invoice.pk as delete_url %} {% include "components/delete_modal.html" with modal_id="delete-modal-invoice" delete_url=delete_url %} {% endblock %}