Esempio n. 1
0
 def delivery_not_received(self):
     return list(
         sps_with_latest_status(
             sps=self.dg.delivering(self.facilities),
             year=self.year,
             month=self.month,
             status_type=SupplyPointStatusTypes.DELIVERY_FACILITY,
             status_value=SupplyPointStatusValues.NOT_RECEIVED))
Esempio n. 2
0
 def not_submitted(self):
     return list(
         sps_with_latest_status(
             sps=self.dg.submitting(self.facilities),
             year=self.year,
             month=self.month,
             status_type=SupplyPointStatusTypes.R_AND_R_FACILITY,
             status_value=SupplyPointStatusValues.NOT_SUBMITTED))
Esempio n. 3
0
 def submit_reminder_sent(self):
     return list(
         sps_with_latest_status(
             sps=self.dg.submitting(self.facilities),
             year=self.year,
             month=self.month,
             status_type=SupplyPointStatusTypes.R_AND_R_FACILITY,
             status_value=SupplyPointStatusValues.REMINDER_SENT))
Esempio n. 4
0
 def delivery_reminder_sent(self):
     return list(
         sps_with_latest_status(
             sps=self.dg.delivering(self.facilities),
             year=self.year,
             month=self.month,
             status_type=SupplyPointStatusTypes.DELIVERY_FACILITY,
             status_value=SupplyPointStatusValues.REMINDER_SENT))
Esempio n. 5
0
 def soh_submitted(self):
     return list(
         sps_with_latest_status(
             sps=self.facilities,
             year=self.year,
             month=self.month,
             status_type=SupplyPointStatusTypes.SOH_FACILITY,
             status_value=SupplyPointStatusValues.SUBMITTED))
Esempio n. 6
0
 def delivery_reminder_sent(self):
     return list(sps_with_latest_status(sps=self.dg.delivering(self.facilities),
                                              year=self.year, month=self.month,
                                              status_type=SupplyPointStatusTypes.DELIVERY_FACILITY,
                                              status_value=SupplyPointStatusValues.REMINDER_SENT))
Esempio n. 7
0
 def delivery_not_received(self):
     return list(sps_with_latest_status(sps=self.dg.delivering(self.facilities),
                                              year=self.year, month=self.month,
                                              status_type=SupplyPointStatusTypes.DELIVERY_FACILITY,
                                              status_value=SupplyPointStatusValues.NOT_RECEIVED))
Esempio n. 8
0
 def submit_reminder_sent(self):
     return list(sps_with_latest_status(sps=self.dg.submitting(self.facilities),
                                              year=self.year, month=self.month,
                                              status_type=SupplyPointStatusTypes.R_AND_R_FACILITY,
                                              status_value=SupplyPointStatusValues.REMINDER_SENT))
Esempio n. 9
0
 def not_submitted(self):
     return list(sps_with_latest_status(sps=self.dg.submitting(self.facilities),
                                              year=self.year, month=self.month,
                                              status_type=SupplyPointStatusTypes.R_AND_R_FACILITY,
                                              status_value=SupplyPointStatusValues.NOT_SUBMITTED))
Esempio n. 10
0
 def soh_submitted(self):
     return list(sps_with_latest_status(sps=self.facilities, year=self.year, month=self.month,
                                                      status_type=SupplyPointStatusTypes.SOH_FACILITY,
                                                      status_value=SupplyPointStatusValues.SUBMITTED))