def company():
  category = category_repository.select_all()
  company = company_repository.select_all()
  account = account_repository.select_all()
  users = user_repository.select_all()
  return render_template('index.html', all_company=company, all_category=category, accounts=account, users=users)
Ejemplo n.º 2
0
def companies():
    companies = company_repository.select_all()
    # company_valuation = investment_repository.valuation()
    return render_template("companies/index.html", companies = companies)
def companies():
    companies = company_repository.select_all()
    return render_template("companies/index.html", companies=companies)
Ejemplo n.º 4
0
def add_transaction():
    companies = company_repository.select_all()
    tags = tag_repository.select_all()
    return render_template("add-transaction.html", companies=companies, tags=tags)
Ejemplo n.º 5
0
def new_investment():
    investors = investor_repository.select_all()
    companies = company_repository.select_all()
    return render_template("investments/new.html",
                           investors=investors,
                           companies=companies)