HOR-489 ReporTable> Agregar una validacin mas cuando se elimina el rerpot table y se lo vuelve a importar
This commit is contained in:
@@ -1139,11 +1139,13 @@ class pmTablesProxy extends HttpProxyController
|
||||
$aErrors[$count]['IS_PMTABLE'] = $isPmTable;
|
||||
$aErrors[$count]['PRO_UID'] = $tableProUid;
|
||||
} else {
|
||||
$aErrors[$count]['NAME_TABLE'] = $contentSchema['ADD_TAB_NAME'];
|
||||
$aErrors[$count]['ERROR_TYPE'] = ERROR_RP_TABLES_OVERWRITE;
|
||||
$aErrors[$count]['ERROR_MESS'] = G::loadTranslation('ID_OVERWRITE_RPTABLE', array($contentSchema['ADD_TAB_NAME']));
|
||||
$aErrors[$count]['IS_PMTABLE'] = $isPmTable;
|
||||
$aErrors[$count]['PRO_UID'] = $tableProUid;
|
||||
if ($tableExists) {
|
||||
$aErrors[$count]['NAME_TABLE'] = $contentSchema['ADD_TAB_NAME'];
|
||||
$aErrors[$count]['ERROR_TYPE'] = ERROR_RP_TABLES_OVERWRITE;
|
||||
$aErrors[$count]['ERROR_MESS'] = G::loadTranslation('ID_OVERWRITE_RPTABLE', array($contentSchema['ADD_TAB_NAME']));
|
||||
$aErrors[$count]['IS_PMTABLE'] = $isPmTable;
|
||||
$aErrors[$count]['PRO_UID'] = $tableProUid;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user