Fix #7123 - getting abra ready to test
[Pman.Xtuple] / Pman.Tab.XtupleAdjustment.js
index 24ef4b6..09e2b43 100644 (file)
@@ -161,8 +161,12 @@ Pman.Tab.XtupleAdjustment = new Roo.XComponent({
                             options.params.invadj_itemsite_id = _this.itemCombo.getValue();   
                             switch(_this.status.getValue()) {
                                 case 'ALL':
+                                
                                     break;
-                                    
+                               case 'ALL-WITHVOID':
+                                   options.params._show_void = 2;        
+                                    break; 
+                                         
                                case 'VOID':
                                    options.params._show_void = 1;
                                 
@@ -175,11 +179,17 @@ Pman.Tab.XtupleAdjustment = new Roo.XComponent({
                                     
                                 case 'UNPOSTED':
                                     options.params.invadj_posted = 0;
+                                    options.params._show_void = 2;                            
                                     break;    
                         
                                 case 'ALL-NOGROUP':
                                    options.params._hide_group = 1;        
                                     break;
+                        
+                               case 'ALL-NOGROUP-WITHVOID':
+                                   options.params._show_void = 2;        
+                                 options.params._hide_group = 1;                
+                                    break; 
                                     
                                case 'VOID-NOGROUP':
                                    options.params._show_void = 1;       
@@ -194,6 +204,7 @@ Pman.Tab.XtupleAdjustment = new Roo.XComponent({
                                 case 'UNPOSTED-NOGROUP':
                                     options.params._hide_group = 1;                     
                                     options.params.invadj_posted = 0;
+                                    options.params._show_void = 2;                
                                     break;    
                                     
                                     
@@ -447,10 +458,12 @@ Pman.Tab.XtupleAdjustment = new Roo.XComponent({
                                 xns: Roo.data,
                                 data : [ 
                                     [ 'ALL-NOGROUP', "All (not in Group)"],
+                                    [ 'ALL-NOGROUP WITHVOID', "All (not in Group) (with Void)"],     
                                     [ 'UNPOSTED-NOGROUP', "Unposted only (not in Group)"] ,
                                     [ 'POSTED-NOGROUP', "Posted only (not in Group)"] ,
                                     [ 'VOID-NOGROUP' ,"Void (not in Group)"],
                                     [ 'ALL', "All"],
+                                    [ 'ALL-WITHVOID', "All (with Void)"],    
                                     [ 'UNPOSTED', "Unposted only"] ,
                                     [ 'POSTED', "Posted only"] ,
                                     [ 'VOID', "Void only"]