BUG 9030 when you claim a case on the unassigned list the "Steps" and... SOLVED

- In the file where it addresses the url does not take intoaccount a shipping option.
- They change the addressing mode to load the menus above, plus you take two conditions, in order to load all the menus at the top that when you have a parent, not having a parent will have to address but without the menus higher for compatibility with the Outlook plugin.
This commit is contained in:
Marco Antonio Nina
2012-05-09 15:51:15 -04:00
parent f136dbb744
commit e70305d0dd

View File

@@ -63,6 +63,11 @@ switch ($RBAC->userCanAccess('PM_CASES'))
G::SendMessageText(G::LoadTranslation('ID_CASE_ALREADY_DERIVATED'), 'error');
}
//if the case is already derivated this link still works, and the case_Open will show only the cases Resume
$url = "../cases/cases_Open?APP_UID=". $_SESSION['APPLICATION'] . "&DEL_INDEX=". $_SESSION['INDEX'];
header ( "Location: $url");
die('<script type="text/javascript">
if (window.parent.frames.length != 0) {
parent.location = "open?APP_UID=' . $_SESSION['APPLICATION'] . '&DEL_INDEX=' . $_SESSION['INDEX'] . '&action=unassigned";
}
else {
window.location = "../cases/cases_Open?APP_UID=' . $_SESSION['APPLICATION'] . '&DEL_INDEX=' . $_SESSION['INDEX'] . '&action=unassigned";
}
</script>');