From 9b82e53c86af0a7fdede2fdc0380a747c8c8bc81 Mon Sep 17 00:00:00 2001 From: gitea Date: Thu, 9 Jan 2025 15:21:23 +0000 Subject: [PATCH] added test + expenses + some changes --- templates/sales/invoices/invoice_detail.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/templates/sales/invoices/invoice_detail.html b/templates/sales/invoices/invoice_detail.html index 7b67ed27..4f5008c9 100644 --- a/templates/sales/invoices/invoice_detail.html +++ b/templates/sales/invoices/invoice_detail.html @@ -40,10 +40,7 @@ {% endif %} {% if invoice.invoice_status == 'approved' %} {% trans 'Record Payment' %} - {% endif %} - {% if invoice.get_amount_open == 0 %} - {% trans 'Mark As Paid' %} - {% endif %} + {% endif %} {% trans 'Preview' %}