Pman.Tab.AdminNotify.bjs
[Pman.Admin] / Pman.Tab.AdminNotify.js
index 41976fb..5a0783a 100644 (file)
@@ -201,6 +201,17 @@ Pman.Tab.AdminNotify = new Roo.XComponent({
                                   options.params.person_id = p;
                               }
                               
+                              var from = _this.fromDateSel.getValue();
+                              
+                              if(from){
+                                  options.params.from = from.format('Y-m-d');
+                              }
+                              
+                              var to = _this.toDateSel.getValue();
+                              
+                              if(to){
+                                  options.params.to = to.format('Y-m-d');
+                              }
                           }
                     },
                     items : [
@@ -354,6 +365,11 @@ Pman.Tab.AdminNotify = new Roo.XComponent({
                                   }
                             }
                         },
+                       {
+                            '|xns' : 'Roo.Toolbar',
+                            xtype : 'Separator',
+                            xns : Roo.Toolbar
+                        },
                        {
                             '|xns' : 'Roo.Toolbar',
                             xtype : 'Fill',