BUG 10178 Pause the Case, add Unpause Time SOLVED
- Al momento de pausar un caso se requiere que el dato de Unpause Date sea mas especifico colocando adicional a ello la hora en que se quiere el Unpause. - Added Unpause time field when pause case.
This commit is contained in:
@@ -81,7 +81,7 @@ $oStep = $oStep->loadByProcessTaskPosition( $case['PRO_UID'], $case['TAS_UID'],
|
||||
$oHeadPublisher->assign( 'uri', $script . $uri );
|
||||
$oHeadPublisher->assign( '_APP_NUM', '#: ' . $case['APP_NUMBER'] );
|
||||
$oHeadPublisher->assign( '_ENV_CURRENT_DATE', $conf->getSystemDate( date( 'Y-m-d' ) ) );
|
||||
$oHeadPublisher->assign( '_ENV_CURRENT_DATE_NO_FORMAT', date( 'Y-m-d' ) );
|
||||
$oHeadPublisher->assign( '_ENV_CURRENT_DATE_NO_FORMAT', date( 'Y-m-d-h-i-A' ) );
|
||||
$oHeadPublisher->assign( 'idfirstform', is_null( $oStep ) ? '' : $oStep->getStepUidObj() );
|
||||
G::RenderPage( 'publish', 'extJs' );
|
||||
|
||||
|
||||
@@ -669,6 +669,7 @@ Ext.onReady(function(){
|
||||
nDay = '' + (parseInt(curDate[2])+1);
|
||||
nDay = nDay.length == 1 ? '0' + nDay : nDay;
|
||||
filterDate += nDay;
|
||||
filterTime = ('0' + curDate[3]).slice(-2) + ':' + ('0' + curDate[4]).slice(-2) + ' ' + curDate[5];
|
||||
|
||||
var fieldset = {
|
||||
xtype : 'fieldset',
|
||||
@@ -692,6 +693,14 @@ Ext.onReady(function(){
|
||||
value: filterDate,
|
||||
minValue: filterDate
|
||||
}),
|
||||
new Ext.form.TimeField({
|
||||
id: 'unpauseTime',
|
||||
fieldLabel: _('ID_UNPAUSE_TIME'),
|
||||
name: 'unpauseTime',
|
||||
value: filterTime,
|
||||
minValue: filterTime,
|
||||
format: 'h:i A'
|
||||
}),
|
||||
{
|
||||
xtype: 'textarea',
|
||||
id: 'noteReason',
|
||||
@@ -726,15 +735,15 @@ Ext.onReady(function(){
|
||||
id: 'unpauseFrm',
|
||||
labelAlign : 'right',
|
||||
//bodyStyle : 'padding:5px 5px 0',
|
||||
width : 250,
|
||||
width : 260,
|
||||
items : [fieldset]
|
||||
});
|
||||
|
||||
|
||||
var win = new Ext.Window({
|
||||
title: _('ID_PAUSE_CASE'),
|
||||
width: 370,
|
||||
height: 230,
|
||||
width: 380,
|
||||
height: 250,
|
||||
layout:'fit',
|
||||
autoScroll:true,
|
||||
modal: true,
|
||||
|
||||
Reference in New Issue
Block a user