urigo / accounter-fullstack Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
docs:
uploading_financial_entity
attributereplace all_transactions.account_number
with account_id
(based on financial_accounts.id
)
meaning - use the ID of account as identifier instead of account number - this to prevent future duplications.
also, update the functions feeding the table.
show event_date if diff from debit_date
Tasks:
misc
the current one uses the temp-server and doesn't match new schema conventions.
after creation, add here (./client/src/components/allCharges/cells/
):
{json: {…}} json: data: {documents: Array(1632)} errors: Array(1) 0: locations: Array(2) 0: column: 5 line: 107 [[Prototype]]: Object 1: column: 5 line: 128 [[Prototype]]: Object length: 2 [[Prototype]]: Array(0) message: "Unexpected error." path: Array(4) 0: "documents" 1: 1092 2: "amount" 3: "raw" length: 4 [[Prototype]]: Array(0) [[Prototype]]: Object length: 1 [[Prototype]]: Array(0) [[Prototype]]: Object [[Prototype]]: Object
the server already supports that.
client has useUpdateCharge and useUpdat
https://github.com/Urigo/accounter-fullstack/blob/edit-ledger/client/src/components/all-charges/cells/category.tsx
Basically:
typescript-resolvers
codegen plugin config, it's called contextType
.useExtendContext
plugin, or by using the context
option of the Yoga server. context.something
TABLE users {
id guid
email text
auth0_user_id text
}
TABLE permissions {
user_id references users.id
resource_type "business" | "bank_account"
resource_id text
role "owner" | "writer" | "reader"
}
TABLE bank_accounts {
id guid
parent_business_id references business.id | null
}
TABLE business {
id guid
}
cumulative graph of the overall balance of money we have on a time scale
Issues:
selection requires touch (add null option, make default) #124
insert ledger failing #123
Charge tag suggestions not working on new design #125
vat is updating (from null to null), should be removed before mutation sent #126
cannot generate creditcard ledger automatically
add vat back, add amount to charge, use all_transactions currency for amount, vat, withholdingTax (edited only on amount) #128
temporary add account number & type to charge #121
No label for tags #125
insert/generate buttons are not available if no data #127
show insert ledger as card under the charge (so you can see charge details) #130
UI that shows charge data aside for update/insert forms #130
add credit/debit counterparties to documents table (and to UI insert/update) #131
unlink document from charge #129
link documents to charge flow+UI (can use test-server logic) #133
update email listener (on test-server) to use documents table
add trigger to update (and link) documents on insert to email_invoices
deb7012a-fcc5-4dff-9080-cb088996bdf2 move to crisp charge
slooooooowwww. paginate
local currency should default to ILS #142
insert ledger still not working #141
overall expenses together with their breakdowns in one chart
logic should match new schema.
maybe logic should move to server?
after update, add here (./client/src/components/allCharges/cells/
):
Related:
Yellow where no docs / ledger
Rethink and implement better DB structure.
later-
update server resolvers:
update client:
currently the unique key is account_number (which is bank account number / credit card last 4 digits) - which is not unique as DB will scale, and theoretically can be changed.
we should add id column, to match other table conventions and avoid duplications
As a method to enforce ReactElement
as a return type for components
it’s important as if the component return undefined
there will be a runtime error from react
not sure about the dates, I think new Date(09/10/2020)
might have month-date mix.
need to double check that
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.