aboutsummaryrefslogtreecommitdiff
path: root/src/controller/payments.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller/payments.rs')
-rw-r--r--src/controller/payments.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/controller/payments.rs b/src/controller/payments.rs
index 66ec056..42d3e3c 100644
--- a/src/controller/payments.rs
+++ b/src/controller/payments.rs
@@ -106,6 +106,8 @@ pub async fn create(
highlight: Some(id),
user: None,
category: None,
+ start_date: None,
+ end_date: None,
};
utils::redirect(&format!(
"/{}",
@@ -189,6 +191,8 @@ pub async fn update(
highlight: Some(id),
user: None,
category: None,
+ start_date: None,
+ end_date: None,
};
utils::redirect(&format!("/{}", queries::payments_url(query)))
} else {