示例#1
0
def ui_delete_funds_for_all_plans(config):
    yield
    plans_list = get_temp_data_collection(config, "plan")
    for plan in plans_list:
        SearchPlan(config).open_plan_by_url(plan["owners"][0]["id"], plan["id"])
        PlanActions(config).delete_funds()
示例#2
0
def ui_delete_funds_for_sub_plan(config):
    yield
    SearchPlan(config).open_plan_by_url(get_temp_data(config, 'client')['id'], get_temp_data(config, "plan", 1)["id"])
    PlanActions(config).delete_funds()
示例#3
0
def ui_delete_funds(config):
    yield
    SearchPlan(config).open_plan_by_url()
    PlanActions(config).delete_funds()
示例#4
0
def ui_delete_plans_valuations(config):
    yield
    plans_list = utils.get_temp_data_collection(config, "plan")
    for plan in plans_list:
        SearchPlan(config).open_plan_by_url(get_temp_data(config, 'client')['id'], plan["id"])
        PlanActions(config).delete_valuations()
示例#5
0
def ui_add_plan_report_note(config):
    SearchPlan(config).open_plan_by_url()
    PlanActions(config).add_wrap_report_notes()
示例#6
0
def ui_add_plan_to_wrapper(config):
    SearchPlan(config).open_plan_by_url(get_temp_data(config, 'client')['id'], get_temp_data(config, "plan", 1)["id"])
    PlanActions(config).using_add_to_wrapper_dialog().add_plan_to_wrapper()
示例#7
0
 def open_plan(self):
     SearchPlan(self.config).open_plan_by_url()
     return self