// only filter by type if the number is empty..
if (!o.params['query[number]'].length) {
- o.params.pohead_status = _this.status.getValue();
+ if (_this.status.getValue() != 'E') {
+ o.params._status = _this.status.getValue();
+ }
+ }
+ if (_this.status.getValue() == 'E') {
+ o.params['!pohead_has_error'] = 0;
}
mode : 'local',
name : 'cm_status_name',
triggerAction : 'all',
- value : "O",
+ value : "OU",
valueField : 'ftype',
width : 150,
store : {
xtype: 'SimpleStore',
xns: Roo.data,
data : [
+ [ 'OU', "Open And Unreleased"],
[ 'O', "Open"],
[ 'C' , "Closed"],
[ 'U', "Unreleased"],
xns: Roo.grid,
align : 'right',
dataIndex : 'pohead_qty_recv',
- header : 'Recieved',
+ header : 'Received',
width : 75,
renderer : function(v,x,r) {