Beispiel #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()
Beispiel #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()
Beispiel #3
0
def ui_delete_funds(config):
    yield
    SearchPlan(config).open_plan_by_url()
    PlanActions(config).delete_funds()
Beispiel #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()
Beispiel #5
0
def ui_add_plan_report_note(config):
    SearchPlan(config).open_plan_by_url()
    PlanActions(config).add_wrap_report_notes()
Beispiel #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()
 def open_plan(self):
     SearchPlan(self.config).open_plan_by_url()
     return self