mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-06 05:01:48 +02:00
Try to add bill
This commit is contained in:
parent
5194870730
commit
3e414dfabe
1 changed files with 3 additions and 0 deletions
|
@ -442,6 +442,9 @@ def import_project(file):
|
||||||
for m in members_to_add:
|
for m in members_to_add:
|
||||||
Person(name=m[0], project=g.project, weight=m[1])
|
Person(name=m[0], project=g.project, weight=m[1])
|
||||||
|
|
||||||
|
bill = Bill(
|
||||||
|
what="TestBill", amount=12, date="2019-12-04", payer_id=9, owers=[7, 8, 9], id=7
|
||||||
|
)
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
|
||||||
@main.route("/<project_id>/delete")
|
@main.route("/<project_id>/delete")
|
||||||
|
|
Loading…
Reference in a new issue