-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: default ledger endpoint for front-end
- Loading branch information
Showing
4 changed files
with
147 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
/** | ||
* update this for default ledger init | ||
*/ | ||
export default { | ||
ledger: { | ||
name: 'Default', | ||
description: 'a default ledger for getting startted', | ||
}, | ||
accounts: [ | ||
{ | ||
name: 'cash account', | ||
description: '', | ||
amount: 0, | ||
}, | ||
{ | ||
name: 'debit account', | ||
description: '', | ||
amount: 0, | ||
}, { | ||
name: 'credit account', | ||
description: '', | ||
amount: 0, | ||
} | ||
], | ||
categories: [ | ||
{ | ||
name: 'Food', | ||
description: 'vegetables, fruit, etc', | ||
ledgerID: null, | ||
}, | ||
{ | ||
name: 'Accommodation', | ||
description: 'renting or housing', | ||
}, | ||
{ | ||
name: 'Petrol/Gas', | ||
description: '', | ||
}, | ||
{ | ||
name: 'Investment', | ||
description: '', | ||
}, | ||
{ | ||
name: 'Salary', | ||
description: 'stable income', | ||
}, | ||
{ | ||
name: 'Part time wage', | ||
description: 'unstable income', | ||
}, | ||
], | ||
payees: [ | ||
{ | ||
name: 'Employer', | ||
description: 'the Boss', | ||
}, | ||
{ | ||
name: 'MM-Cloud', | ||
description: 'the best accounting and money tracker SaaS provider', | ||
}, | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters