{% extends "django_pettycash/dpc_base.html" %} {% load i18n %} {% block content %}

{% trans "Source" %} {{object}}

{% if not form.instance.pk %}

{% trans "A monthly balance with the value you are entering will be automatically created for the current month and for the newly created Source." %}

{% trans "Having a monthly balance for a month is mandatory to create entries in that month." %}

{% endif %}
{% csrf_token %} {{form.as_table}}
{% if form.instance.pk %} {% if perms.django_pettycash.change_source %} {% endif %} {% else %} {% if perms.django_pettycash.add_source %} {% endif %} {% endif %}
{% endblock content %}