Ejemplo 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))
Ejemplo 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))
Ejemplo 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))
Ejemplo 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))