{% extends 'base.html' %} {%load static %} {% block css-code %} .footer-success{ background-color: green; } .footer-danger{ background-color: red; } .panel:hover{ background-color:#efefef; box-shadow: 10px 10px 4px #888888; } panel-footer: hover{ } {% endblock %} {% block css %} {% endblock %} {% block content%} {% if creditSuccess == False or debitSuccess == False%}
ID For That Day Was Not Found
{% elif particularsNotFound == True %}
Particulars Not Found. Enter a particular (Account Name) for the transaction
{% elif debitNotFound == True %}
Debit Amount Not Found. Enter a Amount for debit of the transaction
{% elif creditNotFound == True %}
Credit Amount Not Found. Enter a Amount for credit of the transaction
{% elif creditNotInt == True %}
Credit Amount Not Correct. Enter a Amount for credit of the transaction
{% elif debitNotInt == True %}
Debit Amount Not Correct. Enter a Amount for debit of the transaction
{% endif %}
{% csrf_token %}

{% for entry in dayEntries %}
{{ entry.getDate|date:"N j o" }}
Dr. - {{ entry.getTotalDebitCur }} / Cr. - {{ entry.getTotalCreditCur }} ({{entry.getDifferenceInBalance}})
{% endfor %} {% endblock %} {%block post-js %} $('#debitModal').on('show.bs.modal', function (event) { var button = $(event.relatedTarget); // Button that triggered the modal var id = button.data('id'); // Extract info from data-* attributes var modal = $(this); modal.find('#idModalInputHidden').val(id); }); $('#creditModal').on('show.bs.modal', function (event) { var button = $(event.relatedTarget) // Button that triggered the modal var id = button.data('id') // Extract info from data-* attributes var modal = $(this); modal.find('#idModalInputHidden').val(id) }); {% endblock %}