Exemple #1
0
def _facility_shared():
    people = list(get_facility_people(get_facility_cutoff()))
    send_reminders(people, config.Messages.REMINDER_R_AND_R_FACILITY)
    update_statuses(people, SupplyPointStatusTypes.R_AND_R_FACILITY,
                    SupplyPointStatusValues.REMINDER_SENT)
Exemple #2
0
def _district_shared():
    people = list(get_district_people(get_district_cutoff()))
    send_reminders(people, config.Messages.REMINDER_R_AND_R_DISTRICT)
    update_statuses(people, SupplyPointStatusTypes.R_AND_R_DISTRICT,
                    SupplyPointStatusValues.REMINDER_SENT)
Exemple #3
0
def _district_shared():
    people = list(get_district_people(get_district_cutoff()))
    send_reminders(people, 
                   config.Messages.REMINDER_R_AND_R_DISTRICT)
    update_statuses(people, SupplyPointStatusTypes.R_AND_R_DISTRICT,
                    SupplyPointStatusValues.REMINDER_SENT)
Exemple #4
0
def _facility_shared():
    people = list(get_facility_people(get_facility_cutoff()))
    send_reminders(people, 
                   config.Messages.REMINDER_R_AND_R_FACILITY)
    update_statuses(people, SupplyPointStatusTypes.R_AND_R_FACILITY,
                    SupplyPointStatusValues.REMINDER_SENT)
def set_supervision_statuses():
    update_statuses(get_people(), SupplyPointStatusTypes.SUPERVISION_FACILITY,
                    SupplyPointStatusValues.REMINDER_SENT)
Exemple #6
0
def set_supervision_statuses():
    update_statuses(get_people(), SupplyPointStatusTypes.SUPERVISION_FACILITY, SupplyPointStatusValues.REMINDER_SENT)
def _shared(people):
    people = list(people)
    send_reminders(people, config.Messages.REMINDER_STOCKONHAND) 
    update_statuses(people, SupplyPointStatusTypes.SOH_FACILITY,
                    SupplyPointStatusValues.REMINDER_SENT)