PM-2973: I solve some issues
This commit is contained in:
@@ -19,9 +19,6 @@ class ConsolidatedCases
|
||||
$oCaseConsolidated = new CaseConsolidatedCore();
|
||||
$oCaseConsolidated = CaseConsolidatedCorePeer::retrieveByPK($sTasUid);
|
||||
if (!(is_object($oCaseConsolidated)) || get_class($oCaseConsolidated) != 'CaseConsolidatedCore') {
|
||||
$oCaseConsolidated = new CaseConsolidatedCore();
|
||||
$oCaseConsolidated->setTasUid($sTasUid);
|
||||
$oCaseConsolidated->delete();
|
||||
$oCaseConsolidated = new CaseConsolidatedCore();
|
||||
$oCaseConsolidated->setTasUid($sTasUid);
|
||||
$oCaseConsolidated->setConStatus('INACTIVE');
|
||||
@@ -172,16 +169,11 @@ class ConsolidatedCases
|
||||
$sRepTabUid = $_POST['form']['REP_TAB_UID'];
|
||||
|
||||
$oCaseConsolidated = CaseConsolidatedCorePeer::retrieveByPK($sTasUid);
|
||||
$oCaseConsolidated = new CaseConsolidatedCore();
|
||||
$oCaseConsolidated->setTasUid($sTasUid);
|
||||
$oCaseConsolidated->setTasUid($sTasUid);
|
||||
if (!(is_object($oCaseConsolidated)) || get_class($oCaseConsolidated) != 'CaseConsolidatedCore') {
|
||||
$oCaseConsolidated = new CaseConsolidatedCore();
|
||||
$oCaseConsolidated->setTasUid($sTasUid);
|
||||
}
|
||||
|
||||
$oCaseConsolidated = new CaseConsolidatedCore();
|
||||
$oCaseConsolidated->setTasUid($sTasUid);
|
||||
$oCaseConsolidated->setConStatus('ACTIVE');
|
||||
$oCaseConsolidated->setDynUid($sDynUid);
|
||||
$oCaseConsolidated->setRepTabUid($sRepTabUid);
|
||||
|
||||
@@ -65,6 +65,8 @@ class Consolidated
|
||||
* @param string $app_number, Task Uid
|
||||
* @param string $del_index, Task Uid
|
||||
* @param string $usr_uid, Task Uid
|
||||
* @param string $fieldName, Field Name
|
||||
* @param string $fieldValue, Field Value
|
||||
* @return string
|
||||
*
|
||||
* @author Brayan Pereyra (Cochalo) <brayan@colosa.com>
|
||||
@@ -75,7 +77,6 @@ class Consolidated
|
||||
G::LoadClass("library");
|
||||
G::LoadClass("wsBase");
|
||||
G::LoadClass("case");
|
||||
|
||||
$ws = new \wsBase();
|
||||
$oCase = new \Cases();
|
||||
|
||||
|
||||
@@ -1341,7 +1341,7 @@ function ajaxDerivationRequest(appUid, delIndex, maxLenght, appNumber,fieldGridG
|
||||
window.location.reload();
|
||||
}
|
||||
|
||||
if (fullResponseText.charAt(0) != "<") {
|
||||
if (fullResponseText.charAt(0) != "<" && parent.document.getElementById("batchRoutingCasesNumRec") != null) {
|
||||
parent.document.getElementById("batchRoutingCasesNumRec").innerHTML = parseInt(dataResponse.casesNumRec);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user