remove unused codes

This commit is contained in:
venusbb
2017-10-25 12:50:13 +01:00
parent ae6b32d8e2
commit e8f659837a
6 changed files with 16 additions and 49 deletions

View File

@@ -11,7 +11,7 @@ from app.service.utils import get_current_financial_year_start_year
def dao_get_annual_billing(service_id):
return AnnualBilling.query.filter_by(
service_id=service_id,
).all()
).order_by(AnnualBilling.financial_year_start).all()
def dao_create_or_update_annual_billing_for_year(annual_billing):
@@ -31,7 +31,7 @@ def dao_get_all_free_sms_fragment_limit(service_id):
return AnnualBilling.query.filter_by(
service_id=service_id,
).all()
).order_by(AnnualBilling.financial_year_start).all()
def insert_annual_billing(service):