HOR-302
The "Batch Routing" label (case menu) is not included in the PO file that ProcessMaker generates
This commit is contained in:
@@ -32,7 +32,8 @@ G::LoadTranslation('ID_NEW_CASE'), '');
|
|||||||
/*----------------------------------********---------------------------------*/
|
/*----------------------------------********---------------------------------*/
|
||||||
$licensedFeatures = & PMLicensedFeatures::getSingleton();
|
$licensedFeatures = & PMLicensedFeatures::getSingleton();
|
||||||
if ($licensedFeatures->verifyfeature('7TTeDBQeWRoZTZKYjh4eFpYUlRDUUEyVERPU3FxellWank=')) {
|
if ($licensedFeatures->verifyfeature('7TTeDBQeWRoZTZKYjh4eFpYUlRDUUEyVERPU3FxellWank=')) {
|
||||||
$G_TMP_MENU->AddIdRawOption('CONSOLIDATED_CASES', 'casesConsolidatedListExtJs?action=consolidated', 'Batch Routing', '');
|
$G_TMP_MENU->AddIdRawOption('CONSOLIDATED_CASES', 'casesConsolidatedListExtJs?action=consolidated',
|
||||||
|
G::LoadTranslation('ID_BATCH_ROUTING'), '');
|
||||||
}
|
}
|
||||||
/*----------------------------------********---------------------------------*/
|
/*----------------------------------********---------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@@ -121,7 +121,9 @@ class Consolidated
|
|||||||
$response["casesNumRec"] = \Library::getCasesNumRec($usr_uid);
|
$response["casesNumRec"] = \Library::getCasesNumRec($usr_uid);
|
||||||
|
|
||||||
if (is_array($res)) {
|
if (is_array($res)) {
|
||||||
$response ["message"] = "<b>" . G::LoadTranslation("ID_CASE") . " " . $app_number . "</b> Summary of Derivations: <br> " . $messageDerivateCase;
|
$response ["message"] = "<b>" . G::LoadTranslation("ID_CASE") . " " . $app_number . "</b> " .
|
||||||
|
G::LoadTranslation("ID_SUMMARY_DERIVATION_BATCH_ROUTING") . ' :' . " <br> " .
|
||||||
|
$messageDerivateCase;
|
||||||
} else {
|
} else {
|
||||||
$response ["message"] = G::LoadTranslation("ID_CASE") . " " . $app_number . " " . $res->message;
|
$response ["message"] = G::LoadTranslation("ID_CASE") . " " . $app_number . " " . $res->message;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -421,10 +421,10 @@ Ext.onReady(function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
var buttonProcess = new Ext.Action({
|
var buttonProcess = new Ext.Action({
|
||||||
text: "Derivate",
|
text: _("ID_DERIVATED"),
|
||||||
//iconCls: 'ICON_CASES_PAUSED',
|
//iconCls: 'ICON_CASES_PAUSED',
|
||||||
handler : function (){
|
handler : function (){
|
||||||
Ext.Msg.confirm('Confirm Routing', 'Route cases per batch?',
|
Ext.Msg.confirm(_("ID_CONFIRM_ROUTING"), _("ID_ROUTE_BATCH_ROUTING"),
|
||||||
function(btn, text){
|
function(btn, text){
|
||||||
if (btn == 'yes') {
|
if (btn == 'yes') {
|
||||||
htmlMessage = "";
|
htmlMessage = "";
|
||||||
@@ -1321,7 +1321,7 @@ function ajaxDerivationRequest(appUid, delIndex, maxLenght, appNumber, fieldGrid
|
|||||||
|
|
||||||
if (index == maxLenght) {
|
if (index == maxLenght) {
|
||||||
Ext.MessageBox.show({
|
Ext.MessageBox.show({
|
||||||
title: "Derivation Result",
|
title: _("ID_DERIVATION_RESULT"),
|
||||||
msg: htmlMessage,
|
msg: htmlMessage,
|
||||||
|
|
||||||
fn: function (btn, text, opt) {
|
fn: function (btn, text, opt) {
|
||||||
|
|||||||
Reference in New Issue
Block a user