List issues

This commit is contained in:
Paula V. Quispe
2015-03-02 11:10:40 -04:00
parent 07a803f70a
commit 23d5a6708a
18 changed files with 15 additions and 7 deletions

View File

@@ -1066,6 +1066,7 @@ class Cases
} }
$inbox = new ListInbox(); $inbox = new ListInbox();
$inbox->update($Fields); $inbox->update($Fields);
/*----------------------------------********---------------------------------*/ /*----------------------------------********---------------------------------*/
//Return //Return

View File

@@ -654,7 +654,7 @@ class Configurations // extends Configuration
* @param string $translation Translation * @param string $translation Translation
* @return array Return the fields and configuration * @return array Return the fields and configuration
* *
*/ */
public function casesListDefaultFieldsAndConfig($action, $translation = 1) public function casesListDefaultFieldsAndConfig($action, $translation = 1)
{ {
$caseColumns = array(); $caseColumns = array();

View File

@@ -975,6 +975,7 @@ class Derivation
/*----------------------------------********---------------------------------*/ /*----------------------------------********---------------------------------*/
$inbox = new ListInbox(); $inbox = new ListInbox();
$inbox->update($aParentCase); $inbox->update($aParentCase);
/*----------------------------------********---------------------------------*/ /*----------------------------------********---------------------------------*/
//Update table SUB_APPLICATION //Update table SUB_APPLICATION
$oSubApplication = new SubApplication(); $oSubApplication = new SubApplication();

View File

@@ -159,6 +159,7 @@ class AppDelegation extends BaseAppDelegation
$res = $this->toArray(BasePeer::TYPE_FIELDNAME); $res = $this->toArray(BasePeer::TYPE_FIELDNAME);
$inbox->newRow($this->toArray(BasePeer::TYPE_FIELDNAME), $delPreviusUsrUid); $inbox->newRow($this->toArray(BasePeer::TYPE_FIELDNAME), $delPreviusUsrUid);
} }
/*----------------------------------********---------------------------------*/ /*----------------------------------********---------------------------------*/
} catch (PropelException $e) { } catch (PropelException $e) {
throw ($e); throw ($e);

View File

@@ -2,7 +2,6 @@
require_once 'classes/model/om/BaseListInbox.php'; require_once 'classes/model/om/BaseListInbox.php';
/** /**
* Skeleton subclass for representing a row from the 'LIST_INBOX' table. * Skeleton subclass for representing a row from the 'LIST_INBOX' table.
* *

View File

@@ -13,7 +13,7 @@ require_once 'classes/model/om/BaseListParticipatedLast.php';
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package classes.model * @package classes.model
*/ */
class ListParticipatedLast extends BaseListParticipatedLast class ListParticipatedLast extends BaseListParticipatedLast
{ {
/** /**

View File

@@ -3,7 +3,6 @@
require_once 'propel/map/MapBuilder.php'; require_once 'propel/map/MapBuilder.php';
include_once 'creole/CreoleTypes.php'; include_once 'creole/CreoleTypes.php';
/** /**
* This class adds structure of 'LIST_INBOX' table to 'workflow' DatabaseMap object. * This class adds structure of 'LIST_INBOX' table to 'workflow' DatabaseMap object.
* *

View File

@@ -3,7 +3,6 @@
require_once 'propel/map/MapBuilder.php'; require_once 'propel/map/MapBuilder.php';
include_once 'creole/CreoleTypes.php'; include_once 'creole/CreoleTypes.php';
/** /**
* This class adds structure of 'LIST_PARTICIPATED_LAST' table to 'workflow' DatabaseMap object. * This class adds structure of 'LIST_PARTICIPATED_LAST' table to 'workflow' DatabaseMap object.
* *

View File

@@ -9,6 +9,7 @@ include_once 'propel/util/Criteria.php';
include_once 'classes/model/ListInboxPeer.php'; include_once 'classes/model/ListInboxPeer.php';
/** /**
* Base class that represents a row from the 'LIST_INBOX' table. * Base class that represents a row from the 'LIST_INBOX' table.
* *

View File

@@ -1,10 +1,12 @@
<?php <?php
require_once 'propel/util/BasePeer.php'; require_once 'propel/util/BasePeer.php';
// The object class -- needed for instanceof checks in this class. // The object class -- needed for instanceof checks in this class.
// actual class may be a subclass -- as returned by ListInboxPeer::getOMClass() // actual class may be a subclass -- as returned by ListInboxPeer::getOMClass()
include_once 'classes/model/ListInbox.php'; include_once 'classes/model/ListInbox.php';
/** /**
* Base static class for performing query and update operations on the 'LIST_INBOX' table. * Base static class for performing query and update operations on the 'LIST_INBOX' table.
* *

View File

@@ -9,6 +9,7 @@ include_once 'propel/util/Criteria.php';
include_once 'classes/model/ListParticipatedLastPeer.php'; include_once 'classes/model/ListParticipatedLastPeer.php';
/** /**
* Base class that represents a row from the 'LIST_PARTICIPATED_LAST' table. * Base class that represents a row from the 'LIST_PARTICIPATED_LAST' table.
* *

View File

@@ -5,6 +5,7 @@ require_once 'propel/util/BasePeer.php';
// actual class may be a subclass -- as returned by ListParticipatedLastPeer::getOMClass() // actual class may be a subclass -- as returned by ListParticipatedLastPeer::getOMClass()
include_once 'classes/model/ListParticipatedLast.php'; include_once 'classes/model/ListParticipatedLast.php';
/** /**
* Base static class for performing query and update operations on the 'LIST_PARTICIPATED_LAST' table. * Base static class for performing query and update operations on the 'LIST_PARTICIPATED_LAST' table.
* *

View File

@@ -9,6 +9,7 @@ $urlProxy = 'proxyCasesList';
if ($action == 'selfservice') { if ($action == 'selfservice') {
$action = 'unassigned'; $action = 'unassigned';
} }
/*----------------------------------********---------------------------------*/ /*----------------------------------********---------------------------------*/
$urlProxy = '/api/1.0/' . SYS_SYS . '/lists/'; $urlProxy = '/api/1.0/' . SYS_SYS . '/lists/';
switch ($action) { switch ($action) {

View File

@@ -18,7 +18,7 @@ class Lists {
* *
* @author Brayan Pereyra (Cochalo) <brayan@colosa.com> * @author Brayan Pereyra (Cochalo) <brayan@colosa.com>
* @copyright Colosa - Bolivia * @copyright Colosa - Bolivia
*/ */
public function getList($listName = 'inbox', $dataList = array(), $total = false) public function getList($listName = 'inbox', $dataList = array(), $total = false)
{ {
Validator::isArray($dataList, '$dataList'); Validator::isArray($dataList, '$dataList');

View File

@@ -2270,7 +2270,6 @@ var gridForm = new Ext.FormPanel({
if(typeof(comboUser) != 'undefined'){ if(typeof(comboUser) != 'undefined'){
comboUser.setValue(""); comboUser.setValue("");
} }
comboAllUsers.setValue("CURRENT_USER"); comboAllUsers.setValue("CURRENT_USER");
// hidding the buttons for the reassign // hidding the buttons for the reassign

View File

@@ -30,4 +30,5 @@
<DESCRIPTION type="text" mode="view"> <DESCRIPTION type="text" mode="view">
<en><![CDATA[Case Description]]></en> <en><![CDATA[Case Description]]></en>
</DESCRIPTION> </DESCRIPTION>
</dynaForm> </dynaForm>

View File

@@ -18,4 +18,5 @@
<DEL_FINISH_DATE type="text" mode="view"> <DEL_FINISH_DATE type="text" mode="view">
<en><![CDATA[Finish Date]]></en> <en><![CDATA[Finish Date]]></en>
</DEL_FINISH_DATE> </DEL_FINISH_DATE>
</dynaForm> </dynaForm>

View File

@@ -3,4 +3,5 @@
<TITLE2 type="title"> <TITLE2 type="title">
<en><![CDATA[Current Task(s) Properties]]></en> <en><![CDATA[Current Task(s) Properties]]></en>
</TITLE2> </TITLE2>
</dynaForm> </dynaForm>