Exemplo n.º 1
0
 def getSetupDialog(self, parent):
     result = CReportSetupDialog(parent)
     result.setPayPeriodVisible(self.payPeriodVisible)
     result.setWorkTypeVisible(self.workTypeVisible)
     result.setOwnershipVisible(self.ownershipVisible)
     result.setTitle(self.title())
     return result
Exemplo n.º 2
0
    def getSetupDialog(self, parent):
        setupDialog = CReportSetupDialog(parent)
        setupDialog.setOnlyNotPayedVisible(False)
        setupDialog.setOnlyEmployeeVisible(False)
        setupDialog.setGroupByClients(False)
        setupDialog.setOnlyPermanentAttachVisible(False)
        setupDialog.setContractVisible(False)
        setupDialog.setFinanceVisible(False)
        setupDialog.setPersonVisible(False)
        setupDialog.setPersonWithoutDetailCheckboxVisible(False)
        setupDialog.setSpecialityVisible(False)
        setupDialog.setInsurerVisible(False)
        setupDialog.setStageVisible(False)
        setupDialog.setPayPeriodVisible(False)
        setupDialog.setWorkTypeVisible(False)
        setupDialog.setOwnershipVisible(False)
        setupDialog.setWorkOrganisationVisible(False)
        setupDialog.setSexVisible(False)
        setupDialog.setDiagnosisType(False)
        setupDialog.setAgeVisible(False)
        setupDialog.setActionTypeVisible(False)
        setupDialog.setMKBFilterVisible(False)

        setupDialog.setEventTypeVisible(True)
        setupDialog.setOrgStructureVisible(True)
        setupDialog.setEventPurposeVisible(True)
        setupDialog.setSourceFileVisible(True)

        setupDialog.setSourceFileFilter(
            u'XML Files (*.xml);;DBF Files (*.dbf)')

        setupDialog.resize(setupDialog.sizeHint())

        return setupDialog
Exemplo n.º 3
0
 def getSetupDialog(self, parent):
     result = CReportSetupDialog(parent)
     result.setTitle(self.title())
     result.setEventTypeVisible(True)
     result.setPayPeriodVisible(True)
     result.setOwnershipVisible(True)
     return result
Exemplo n.º 4
0
 def getSetupDialog(self, parent):
     result = CReportSetupDialog(parent)
     result.setTitle(self.title())
     result.setEventTypeVisible(True)
     result.setPayPeriodVisible(True)
     if self.mode == '08':
         result.setOwnershipVisible(True)
     elif self.mode == '09':
         result.setOwnershipVisible(True)
     else:
         result.setWorkTypeVisible(True)
     return result