Added Document upload to ConstructionConsent Owners
This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user