Dynamic Template ( loadFullTemplateV2 - mapid empty means) : ps

This commit is contained in:
gandhimathi 2022-04-18 13:06:20 +00:00
parent ecccc69767
commit 1c7f3c50c9

View File

@ -2362,6 +2362,8 @@ class PD_Model extends SPARQ_Model {
$map_id = $row->id;
} else {
$map_id = "";
return [];
// msg = 'There is no Template Registered With Us Please check With TemplateV2 Screen';
}
}
$this->db->SELECT('TEMPLATE_JSON_V2.id as template_id,TEMPLATE_JSON_V2.map_id,TEMPLATE_JSON_V2.form_id,PDFORMS.pd_form_order,PDFORMS.pd_form_level_order,PDFORMS.pd_form_name as form_name,TEMPLATE_JSON_V2.is_form_disabled,PDFORMS.is_business_form,TEMPLATE_JSON_V2.is_group_form');