4_15_2019 update

This commit is contained in:
Frank John Begornia
2019-04-15 22:38:53 +08:00
parent 0fe1270756
commit c5862dfbf4
665 changed files with 401297 additions and 194 deletions

View File

@@ -12,13 +12,16 @@ class DesignerModel extends Model {
}
function selectTemplatePaths($templateid){
$i = DB::table('template_paths')->where('HashTemplateCode', $templateid)
$i = DB::table('template_paths')
->where('HashTemplateCode', $templateid)
->where('IsActive', 'TRUE')
->get();
return $i;
}
function selectTemplatePathsByTemplateCode($templateid){
$i = DB::table('template_paths')->where('TemplateCode', $templateid)
->where('IsActive', 'TRUE')
->get();
return $i;
}