mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
WIP server side.
This commit is contained in:
10
server/src/services/Accounting/JournalEntry.js
Normal file
10
server/src/services/Accounting/JournalEntry.js
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
export default class JournalEntry {
|
||||
constructor(entry) {
|
||||
const defaults = {
|
||||
credit: 0,
|
||||
debit: 0,
|
||||
};
|
||||
this.entry = { ...defaults, ...entry };
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user