diff --git a/app/db_mgr.py b/app/db_mgr.py index d2a1445..8b3dee0 100644 --- a/app/db_mgr.py +++ b/app/db_mgr.py @@ -198,3 +198,11 @@ def charges_by_agent(agent_id): else: all_charges.append([p, 0]) return all_charges + + +def get_current_period(): + """ + :return: the id of the period of current day + """ + # TODO: request on dates as soon as periods are dated + return 14 -- libgit2 0.21.2