30 lines
1.0 KiB
HTML
30 lines
1.0 KiB
HTML
{% extends 'base.html' %}
|
|
{% load i18n %}
|
|
{% load static %}
|
|
{% load crispy_forms_tags %}
|
|
{% load django_ledger %}
|
|
{% load custom_filters %}
|
|
|
|
{% block content %}
|
|
<div class="row justify-content-center mt-5 mb-3">
|
|
<div class="col-lg-8 col-md-10 ">
|
|
<div class="card shadow-sm border-0 rounded-3">
|
|
<div class="card-header bg-gray-200 py-3 border-0 rounded-top-3">
|
|
<h3 class="mb-0 fs-4 text-center text-white">{{ _("Add Payment") }}</h3>
|
|
</div>
|
|
<div class="card-body bg-light-subtle">
|
|
<form action="{% url 'invoice_update' request.dealer.slug request.entity.slug invoice.pk %}"
|
|
method="post">
|
|
{% csrf_token %}
|
|
{{ form|crispy }}
|
|
<button type="submit"
|
|
class="btn btn-primary w-100 my-1">{% trans 'Save Invoice' %}</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|