Exemple #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))
Exemple #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))
Exemple #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))
Exemple #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))
Exemple #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))
Exemple #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))
Exemple #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))
Exemple #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))
Exemple #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))
Exemple #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))