From ef3af99ae476d3e39ccf006771746e8ee6b4b599 Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Thu, 1 Aug 2024 21:26:03 +0200 Subject: [PATCH] Added cancel_date filter in Contract/Index --- Layout/default/Contract/Form.php | 3 +-- Layout/default/Contract/Index.php | 10 +++++++++- application/Contract/ContractController.php | 6 ++++++ application/Contract/ContractModel.php | 10 ++++++++++ 4 files changed, 26 insertions(+), 3 deletions(-) diff --git a/Layout/default/Contract/Form.php b/Layout/default/Contract/Form.php index e89790c25..2eca067d1 100644 --- a/Layout/default/Contract/Form.php +++ b/Layout/default/Contract/Form.php @@ -439,9 +439,8 @@ function(success) { if(success.status != "OK") return; - p = success.result.product; - + var sla_id; if(p.sla_id) { sla_id = p.sla_id; diff --git a/Layout/default/Contract/Index.php b/Layout/default/Contract/Index.php index d2f26c52e..9d3f2a194 100644 --- a/Layout/default/Contract/Index.php +++ b/Layout/default/Contract/Index.php @@ -60,7 +60,15 @@ - + +
+ + +
+