This commit is contained in:
Paula Quispe
2019-05-07 12:32:34 -04:00
parent dc31e8ee08
commit 1e1c23c8cf
2 changed files with 49 additions and 34 deletions

View File

@@ -282,14 +282,14 @@ class Delegation extends Model
// Rewrite priority string
if ($item['DEL_PRIORITY']) {
$item['DEL_PRIORITY'] = G::LoadTranslation("ID_PRIORITY_{$priorities[$item['DEL_PRIORITY']]}", 'en');
$item['DEL_PRIORITY'] = G::LoadTranslation("ID_PRIORITY_{$priorities[$item['DEL_PRIORITY']]}");
}
// Merge in desired application data
if ($item['APP_STATUS']) {
$item['APP_STATUS_LABEL'] = G::LoadTranslation("ID_${item['APP_STATUS']}", 'en');
$item['APP_STATUS_LABEL'] = G::LoadTranslation("ID_${item['APP_STATUS']}");
} else {
$item['APP_STATUS_LABEL'] = $application->APP_STATUS;
$item['APP_STATUS_LABEL'] = $item['APP_STATUS'];
}
// Merge in desired process data