WIP Contract 2024-06-13

This commit is contained in:
Frank Schubert
2024-06-20 17:59:51 +02:00
parent 6e2e4f1962
commit 92724ca6b5
12 changed files with 549 additions and 89 deletions

View File

@@ -482,7 +482,12 @@ class ContractModel {
}
}
if(array_key_exists("finish_date<", $filter)) {
$finish_date = $filter['finish_date<'];
if(is_numeric($finish_date)) {
$where .= " AND Contract.finish_date <= $finish_date";
}
}
if(array_key_exists("add-where", $filter)) {
$where .= " ".$filter['add-where'];