def get_purchases_by_date(interval, dates): table = "Purchases" return get_json_table_by_date(interval, dates, table)
def get_sale_by_date(dates, interval): table = "Sales" return get_json_table_by_date(interval, dates, table)
def get_appointments_by_date(interval, dates): table = "Appointments" return get_json_table_by_date(interval, dates, table)
def get_agenda_by_date(interval, dates): table = "Agenda" return get_json_table_by_date(interval, dates, table)
def get_cash_register_by_date(interval, dates): table = "Cash_register" return get_json_table_by_date(interval, dates, table)
def get_expenses_by_date(interval, dates): table = "Expenses" return get_json_table_by_date(interval, dates, table)
def get_receipts_by_date(interval, dates): table = "Receipts" return get_json_table_by_date(interval, dates, table)
def get_payments_by_date(interval, dates): table = "Payments" return get_json_table_by_date(interval, dates, table)