From abc64aa7a08ac39e2973a8b798ce277e22ed2729 Mon Sep 17 00:00:00 2001 From: bcomsugi Date: Sun, 31 Dec 2023 03:42:00 +0700 Subject: [PATCH] messages fixed --- .../templates/Invoice/show-customers.html | 15 ++-------- .../templates/Invoice/so_details_form.html | 4 ++- .../templates/Invoice/so_list_form.html | 2 +- django/Invoice/views.py | 15 ++++++---- django/templates/base.html | 30 ++++++++++--------- 5 files changed, 32 insertions(+), 34 deletions(-) diff --git a/django/Invoice/templates/Invoice/show-customers.html b/django/Invoice/templates/Invoice/show-customers.html index 62379c1..ea66135 100644 --- a/django/Invoice/templates/Invoice/show-customers.html +++ b/django/Invoice/templates/Invoice/show-customers.html @@ -4,18 +4,7 @@ {% block title %}Invoice{% endblock title %} {% block body %} - {% comment %} {% if messages %} - - {% endif %} {% endcomment %} - {% if messages %} - - {% endif %} +
@@ -23,7 +12,7 @@
- + diff --git a/django/Invoice/templates/Invoice/so_details_form.html b/django/Invoice/templates/Invoice/so_details_form.html index e06d20b..3f7955b 100644 --- a/django/Invoice/templates/Invoice/so_details_form.html +++ b/django/Invoice/templates/Invoice/so_details_form.html @@ -5,11 +5,13 @@ {% csrf_token %}