From 0769a7fcaad35d9cebce2ab96ac2c9cb109a9f89 Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Wed, 18 Jan 2023 08:42:57 +0100 Subject: [PATCH] helper.js - added "lease_renewal" to table --- app/static/assets/js/helper.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/static/assets/js/helper.js b/app/static/assets/js/helper.js index 57575b7..5668d14 100644 --- a/app/static/assets/js/helper.js +++ b/app/static/assets/js/helper.js @@ -76,6 +76,7 @@ async function fetchLeases(element) { lease created updated + next renew expires origin ` @@ -87,6 +88,7 @@ async function fetchLeases(element) { ${o.lease_ref} ${new Date(o.lease_created).toLocaleDateString('system', dtc)} ${new Date(o.lease_updated).toLocaleDateString('system', dtc)} + ${new Date(o.lease_renewal).toLocaleDateString('system', dtc)} ${new Date(o.lease_expires).toLocaleDateString('system', dtc)} ${o.origin_ref}` tbody.appendChild(row);