Merged in paulis/processmaker/PM-2336 (pull request #1948)
I solved the issue PM-2336 [Error con el Consolidated tab]
This commit is contained in:
@@ -1588,8 +1588,9 @@ class processMap
|
|||||||
|
|
||||||
$numRows = DynaformPeer::doCount($oCriteria);
|
$numRows = DynaformPeer::doCount($oCriteria);
|
||||||
if ($numRows == 0) {
|
if ($numRows == 0) {
|
||||||
echo "<div style=\"margin:1em;\"><strong>".G::LoadTranslation('ID_ALERT')."</strong><br />".G::LoadTranslation('ID_CONSOLIDATED_DYNAFORM_REQUIRED')."</div>";
|
$aFields['TITLE_ALERT'] = G::LoadTranslation('ID_ALERT');
|
||||||
die;
|
$aFields['SUBTITLE_MESSAGE'] = G::LoadTranslation('ID_CONSOLIDATED_DYNAFORM_REQUIRED');
|
||||||
|
$sFilename = 'tasks/tasks_Consolidated_Error.xml';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
19
workflow/engine/xmlform/tasks/tasks_Consolidated_Error.xml
Normal file
19
workflow/engine/xmlform/tasks/tasks_Consolidated_Error.xml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<dynaForm type="xmlform" name="" width="585" height="305" enabletemplate="0" mode="">
|
||||||
|
<PRO_UID type="hidden" />
|
||||||
|
<TAS_UID type="hidden" />
|
||||||
|
<SYS_LANG type="hidden" />
|
||||||
|
<REP_TAB_UID type="hidden" />
|
||||||
|
<INDEX type="hidden" />
|
||||||
|
<TABLE_NAME_DEFAULT type="hidden" />
|
||||||
|
<IFORM type="hidden" />
|
||||||
|
|
||||||
|
<TITLE_ALERT type="title">
|
||||||
|
<en><![CDATA[Alert]]></en>
|
||||||
|
<es><![CDATA[Alert]]></es>
|
||||||
|
</TITLE_ALERT>
|
||||||
|
<SUBTITLE_MESSAGE type="text" mode="view">
|
||||||
|
<en><![CDATA[Message]]></en>
|
||||||
|
<en><![CDATA[Mensaje]]></en>
|
||||||
|
</SUBTITLE_MESSAGE>
|
||||||
|
</dynaForm>
|
||||||
Reference in New Issue
Block a user