From 545668421b345952215a666327713feb55fd5f33 Mon Sep 17 00:00:00 2001 From: ydb5755 Date: Wed, 9 Oct 2024 14:42:09 +0300 Subject: [PATCH] add month selector, remove loop of row creation from direct server response to allow js creation --- app/templates/homepage.html | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/app/templates/homepage.html b/app/templates/homepage.html index 73a797b..2c887b8 100644 --- a/app/templates/homepage.html +++ b/app/templates/homepage.html @@ -38,6 +38,14 @@
Line Items +
+ + +
@@ -56,21 +64,8 @@ Split Line? - - {% for li in last_month_lines %} - - {{li[0].id}} - {{li[0].parent_line_item_id}} - {{li[0].amount}} - {{li[0].currency_type}} - {{li[0].get_vendor()[0]}} - {{li[0].date}} - {{li[0].confirmation_code}} - {{li[0].note}} - - Click to split line - - {% endfor %} + + Loading...