From 42fe685d53b2d18996bcf2e455bc1d3889f21c95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Tue, 30 Jun 2020 23:49:21 +0800 Subject: [PATCH] Added a simple pagination filter and refined the cash report. --- accounting/templates/accounting/cash.html | 27 +++++- accounting/urls.py | 18 +++- accounting/utils.py | 33 +++++++ accounting/views.py | 110 +++++++++++++++------- 4 files changed, 150 insertions(+), 38 deletions(-) diff --git a/accounting/templates/accounting/cash.html b/accounting/templates/accounting/cash.html index 2a1c8f2..51f739f 100644 --- a/accounting/templates/accounting/cash.html +++ b/accounting/templates/accounting/cash.html @@ -1,11 +1,32 @@

Cash Report

{% if records %} -