Exemplo n.º 1
0
 def automatic(self):
     lz = WHCommon.listZoneObjects(self, manid = self.GetKEmployeeID())
     return self.drawTemplate(templ=self.tmplAutomatic, data=[lz,{'OBJID':self.employeeObj()}])
Exemplo n.º 2
0
 def listZoneObjects(self):
     return self.pyDumps(data=WHCommon.listZoneObjects(
         self, manid=self.GetKEmployeeID()),
                         ext_data={'OBJID': self.employeeObj()})
Exemplo n.º 3
0
 def index(self, id_system=None):
     WHCommon.index(self, id_system)
     manid = self.GetKEmployeeID()
     lz = WHCommon.listZoneObjects(self, manid=manid)
     self.setIfaceVar('wmsesid', self.GetKSessionID(employeeID=manid))
     return self.drawTemplate(templ=self.tmplMain, data=[lz])