Added Document upload to ConstructionConsent Owners

This commit is contained in:
Frank Schubert
2025-01-15 17:14:49 +01:00
parent 2366dc0300
commit 905a2d0ede
8 changed files with 557 additions and 44 deletions

View File

@@ -160,10 +160,10 @@ class ConstructionConsentFile extends mfBaseModel {
$db = FronkDB::singleton();
//var_dump($filter);exit;
if(array_key_exists("mailtemplate_id", $filter)) {
$mailtemplate_id = $filter['mailtemplate_id'];
if(is_numeric($mailtemplate_id)) {
$where .= " AND ConstructionConsentFile.`mailtemplate_id` = $mailtemplate_id";
if(array_key_exists("constructionconsent_id", $filter)) {
$constructionconsent_id = $filter['constructionconsent_id'];
if(is_numeric($constructionconsent_id)) {
$where .= " AND ConstructionConsentFile.`constructionconsent_id` = $constructionconsent_id";
}
}