From 3d5272d7229cde9eb0a34d65fa9122f90991ae37 Mon Sep 17 00:00:00 2001 From: Matthew Smith Date: Sat, 5 Oct 2019 21:58:49 +0100 Subject: [PATCH] Fixed incorrecty data being sent to the date_sold field in the asset_update template. Fixes last of dates not being passed around correctly --- assets/templates/asset_update.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/templates/asset_update.html b/assets/templates/asset_update.html index a926d079..e73eee3a 100644 --- a/assets/templates/asset_update.html +++ b/assets/templates/asset_update.html @@ -158,7 +158,7 @@
- {% with date_sol=object.form.date_sold|date:"Y-m-d" %} + {% with date_sol=object.date_sold|date:"Y-m-d" %} {% render_field form.date_sold|add_class:'form-control'|attr:'type="date"' value=date_sol %} {% endwith %}