Esempio n. 1
0
 def supervision_reminder_sent(self):
     return list(
         sps_with_status(
             sps=self.dg.submitting(self.facilities),
             year=self.year,
             month=self.month,
             status_type=SupplyPointStatusTypes.SUPERVISION_FACILITY,
             status_value=SupplyPointStatusValues.REMINDER_SENT))
Esempio n. 2
0
 def supervision_not_received(self):
     return list(
         sps_with_status(
             sps=self.dg.submitting(self.facilities),
             year=self.year,
             month=self.month,
             status_type=SupplyPointStatusTypes.SUPERVISION_FACILITY,
             status_value=SupplyPointStatusValues.NOT_RECEIVED))
Esempio n. 3
0
 def supervision_received(self):
     return list(sps_with_status(sps=self.dg.submitting(self.facilities),
                                              year=self.year, month=self.month,
                                              status_type=SupplyPointStatusTypes.SUPERVISION_FACILITY,
                                              status_value=SupplyPointStatusValues.RECEIVED))
Esempio n. 4
0
 def supervision_reminder_sent(self):
     return list(sps_with_status(sps=self.dg.submitting(self.facilities),
                                              year=self.year, month=self.month,
                                              status_type=SupplyPointStatusTypes.SUPERVISION_FACILITY,
                                              status_value=SupplyPointStatusValues.REMINDER_SENT))