Improve bill things for issue #341

This commit is contained in:
James Cole
2016-10-20 21:40:45 +02:00
parent d92768ecbf
commit f83aaf77f1
6 changed files with 126 additions and 59 deletions

View File

@@ -0,0 +1,84 @@
{
"users": [
{
"email": "thegrumpydictator@gmail.com",
"password": "james"
},
{
"email": "thegrumpydictator+empty@gmail.com",
"password": "james"
},
{
"email": "thegrumpydictator+deleteme@gmail.com",
"password": "james"
}
],
"roles": [
{
"user_id": 1,
"role": 1
}
],
"accounts": [
{
"user_id": 1,
"account_type_id": 3,
"name": "Checking Account",
"iban": "NL11XOLA6707795988"
}
],
"account-meta": [
],
"bills": [
{
"name": "Some weird weekly bill",
"match": "weird,weekly,bill",
"amount_min": 30,
"amount_max": 35,
"user_id": 1,
"date": "2016-06-12",
"active": 1,
"automatch": 1,
"repeat_freq": "weekly",
"skip": 0
}
],
"budgets": [
],
"budget-limits": [
],
"monthly-limits": [
],
"categories": [
],
"piggy-banks": [
],
"piggy-events": [
],
"rule-groups": [
],
"rules": [
],
"rule-triggers": [
],
"rule-actions": [
],
"tags": [
],
"monthly-deposits": [
],
"monthly-transfers": [
],
"monthly-withdrawals": [
],
"attachments": [
],
"multi-withdrawals": [
],
"multi-deposits": [
],
"multi-transfers": [
],
"import-jobs": [],
"currencies": []
}

View File

@@ -245,27 +245,15 @@
],
"bills": [
{
"name": "Rent",
"match": "rent,land,lord",
"amount_min": 795,
"amount_max": 805,
"name": "Some weird weekly bill",
"match": "weird,weekly,bill",
"amount_min": 30,
"amount_max": 35,
"user_id": 1,
"date": "2015-01-01",
"date": "2016-06-12",
"active": 1,
"automatch": 1,
"repeat_freq": "monthly",
"skip": 0
},
{
"name": "Health insurance",
"match": "insurer,insurance,health",
"amount_min": 120,
"amount_max": 140,
"user_id": 1,
"date": "2015-01-01",
"active": 1,
"automatch": 1,
"repeat_freq": "monthly",
"repeat_freq": "weekly",
"skip": 0
}
],