예제 #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))
예제 #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))
예제 #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))
예제 #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))
예제 #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))
예제 #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))
예제 #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))
예제 #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))
예제 #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))
예제 #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))