From 9b646aa5b0f60162f10e8e60133d87e934042d5d Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Wed, 7 Jul 2021 11:32:33 +0200 Subject: [PATCH] One more fix --- Site/Pages/v5/Financial/CreateInboundInvoice.aspx.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Site/Pages/v5/Financial/CreateInboundInvoice.aspx.cs b/Site/Pages/v5/Financial/CreateInboundInvoice.aspx.cs index f9d88567..594be31b 100644 --- a/Site/Pages/v5/Financial/CreateInboundInvoice.aspx.cs +++ b/Site/Pages/v5/Financial/CreateInboundInvoice.aspx.cs @@ -208,7 +208,7 @@ namespace Swarmops.Frontend.Pages.v5.Financial this.TextReference.Text = String.Empty; this.CurrencyAmount.Cents = 0; this.CurrencyVat.Cents = 0; - this.TextDueDate.Text = DateTime.Today.AddDays (30).ToShortDateString(); // Use current culture + this.DateInvoiceDue.Value = this.DateInvoiceIssued.Value.AddDays(30); // the easyUI combo fields should reset automatically on form submission unless we explicitly reconstruct