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:
Hector Cortez
2013-03-26 15:06:40 -04:00
parent 6b72c8b63f
commit f9d35dcb27
2 changed files with 13 additions and 4 deletions

View File

@@ -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,