2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 11:29:03 +00:00
Commit Graph

433 Commits

Author SHA1 Message Date
18alantom
ae6a5e52f2 refactor: move ledgerPosting to models
- move getExchangeRate to helpers
- add git blame ignore
2022-05-23 16:18:22 +05:30
18alantom
de7e5ba807 refactor: rename 'frappe' to 'fyo' outside src
- cause now most of it is different from what it was
2022-05-23 16:18:22 +05:30
18alantom
76bf6cfda5 incr: rem singleton from index.ts cause can't test
- update models to not use singleton export
2022-05-23 16:18:22 +05:30
18alantom
c7ecdf6ff4 chore: shift readme stuff into a readme 2022-05-23 16:18:22 +05:30
18alantom
591e7b3163 incr: complete typing models
- fix model exports
- add a README for models base
2022-05-23 16:18:22 +05:30
18alantom
91bf6e03fa incr: type Transaction and Tax 2022-05-23 16:18:22 +05:30
18alantom
1cc05d218f incr: type Payment 2022-05-23 16:18:22 +05:30
18alantom
b08a3b9d52 incr: type Party, JournalEntry
- add removeFields
- fix Party schema
2022-05-23 16:18:21 +05:30
18alantom
781c1d70e9 refactor: Item and Address models to ts Doc subcls 2022-05-23 16:18:21 +05:30
18alantom
cb54100db4 incr: convert simple models to .ts Doc subclass 2022-05-23 16:18:21 +05:30
18alantom
c1482b0d2f incr: convert knex calls to dbHandler calls
- add callBespoke
2022-05-23 16:18:21 +05:30
18alantom
0201844fd0 refactor: properly type naming
- remove redundant files
- change getDoc and getNewDoc
2022-05-23 16:18:21 +05:30
18alantom
cdb039d308 incr: delete some stuff add typed doc.ts 2022-05-23 16:18:21 +05:30
18alantom
e9fab0cf83 incr: add databaseManager, privitize methods 2022-05-23 16:18:21 +05:30
18alantom
a546f144ca incr: drop unused doctypes 2022-05-23 16:18:21 +05:30
18alantom
2afec6a74b incr: deprecate frappe.call 2022-05-23 16:18:21 +05:30
18alantom
82709165a4 chore: rename getNewDoc, newDoc
- delete irrelevant tests
2022-05-23 16:18:21 +05:30
18alantom
26e030106f incr: rename Meta and Document 2022-05-23 16:18:21 +05:30
18alantom
d3af272bcc fix(ui): Notes display in templates 2022-04-04 12:08:47 +05:30
18alantom
0d78df598c fix: mark missed strings as translate 2022-03-31 10:53:11 +05:30
18alantom
a3e4a7fc3f fix(ui): remove tax breakdown from print view 2022-03-17 10:13:03 +05:30
18alantom
391cd8544c fix: patch to fix journal entry ids 2022-03-15 14:34:58 +05:30
18alantom
159d943593 feat: add singleton TelemetryManager
- change config to ts
- add docnames types
2022-03-11 12:26:43 +05:30
18alantom
17663b2dbe feat: filter items in invoices 2022-03-10 12:23:28 +05:30
18alantom
fbb1c4db66 feat: segregate payment by type in sidebar 2022-03-10 12:12:02 +05:30
18alantom
d9108d5103 feat: add field to segregate items by purpose 2022-03-10 12:04:02 +05:30
18alantom
01f1154a67 chore: remove number series from settings 2022-03-08 13:46:32 +05:30
18alantom
c9631c27a6 feat: add numberSeries field to docs 2022-03-08 12:14:05 +05:30
18alantom
d5c00a1038 fix: payment shows as draft post submit 2022-03-02 13:18:50 +05:30
18alantom
37de2675cd fix: minor fixes
- empty date import issue
- rename payment amount to allocated amount
- increase tooltip distance threshold
2022-03-02 11:28:07 +05:30
18alantom
6ce75292b8 fix: change account df 2022-02-28 17:36:41 +05:30
18alantom
f495e602db fix: add name to payment 2022-02-28 14:20:50 +05:30
18alantom
2969aaa47f fix: add name to JE 2022-02-28 14:10:11 +05:30
18alantom
38f538453c fix(ux): show outstanding amount in widget 2022-02-28 12:58:29 +05:30
18alantom
900639734a fix: allow zero rate on items 2022-02-28 12:58:29 +05:30
18alantom
a5adf7cca3 fix: account for writeoff values 2022-02-28 12:58:29 +05:30
18alantom
c49c7429a7 fix: COA issue; TIL webpack bundles jsons -_- 2022-02-25 20:37:18 +05:30
18alantom
f7937935fb fix: set readonly 2022-02-23 12:52:14 +05:30
18alantom
91e8fa52f4 feat: setup Data Import page 2022-02-23 11:34:26 +05:30
18alantom
c23e670582 feat: use selected chart of accounts 2022-02-21 12:08:50 +05:30
18alantom
73253212c5 feat: add CoA selection to Setup Wizard 2022-02-21 12:08:50 +05:30
18alantom
c52b7f54ad fix: translate all labels 2022-02-16 13:15:33 +05:30
18alantom
53ce50bb1e refactor: convert template instances of t(' → t` 2022-02-16 13:15:33 +05:30
18alantom
cad59570a0 refactor: t( => t` in *.js 2022-02-16 13:15:33 +05:30
18alantom
9ca8073a33 refactor: convert frappe.t( to frappe.t` 2022-02-16 13:15:33 +05:30
18alantom
fb525c88b3 refactor: add emits to *.vue where $emit 2022-02-10 17:28:26 +05:30
18alantom
2f6a2f4cc2 refactor: vue 2 → 3 migration
- render functions
- slots
- creation
2022-02-10 12:11:51 +05:30
18alantom
e8ad2ce21d fix: Party Widget payment display 2022-02-07 17:15:58 +05:30
18alantom
838ae87642 fix: error type
- allow translation string folding
2022-02-07 14:31:28 +05:30
18alantom
71d55950ff fix(ux): allow party type on ambiguous quickedit 2022-02-04 12:06:44 +05:30
18alantom
fc23c585d4 refactor: remove _, replace stand alone instances 2022-01-24 12:02:38 +05:30
18alantom
0320743161 refactor: replace all frappe._(` instances 2022-01-24 11:45:26 +05:30
18alantom
6053bcb39b chore: add missing pieces from frappejs 2022-01-21 03:06:17 +05:30
18alantom
cc09847337 refactor: rename imports, frappejs → frappe 2022-01-21 02:27:29 +05:30
18alantom
d4cfbca7df refactor: move color stuff to colors.js 2022-01-19 15:55:26 +05:30
18alantom
7878a405d3 fix(ux): allow custom empty messages in autocomp
- set custom message for State
2022-01-12 15:04:16 +05:30
18alantom
5a457614c3 fix: minor fixes to validation messages
- add two for SI items
2022-01-10 13:41:11 +05:30
18alantom
ab7cffe609 fix: remove ternary & number input style 2022-01-07 12:01:49 +05:30
18alantom
4d85642a40 chore: deprecate numberFormat 2022-01-07 10:51:19 +05:30
18alantom
5ad858ede7 fix: knex queries 2022-01-07 10:51:19 +05:30
18alantom
373684aab7 fix: update Account, Item models Currency fields 2022-01-07 10:51:19 +05:30
18alantom
b4957c3a64 fix: update JE, fix validation message 2022-01-07 10:51:19 +05:30
18alantom
8583db75d6 fix: update payments to use pesa 2022-01-07 10:51:19 +05:30
18alantom
5f4a9ceeb1 fix: update SalesInvoice 2022-01-07 10:51:19 +05:30
18alantom
5c6ac0e161 fix: currency field display (PI) 2022-01-07 10:51:19 +05:30
18alantom
1e6113e92f fix: update PurchaseInvoice to use pesa 2022-01-07 10:51:19 +05:30
18alantom
ddb46f8bee fix: AutoComplete country, state, pos and place 2021-12-30 15:03:03 +05:30
Piyush Singhania
50a71749ee Removed text at the end of file 2021-12-29 14:44:34 +05:30
Ankit Singhaniya
f707d8c53b move address inside if block 2021-12-29 13:34:26 +05:30
Ankit Singhaniya
f6d031ed4e move pos add to quick fields inside if block 2021-12-29 13:30:41 +05:30
Piyush Singhania
5d6104ce0d Fixed pos issue in countries other than India 2021-12-29 12:40:13 +05:30
Ankit Singhaniya
df51742aff make place of supply and gst into seperate entries 2021-12-29 12:34:58 +05:30
Piyush Singhania
1ad66be110 Fixed dropdown CSS, removed sleep, renamed state label for India 2021-12-29 12:34:58 +05:30
Ankit Singhaniya
540f2988f1 feat: add gst1 b2cs and b2cl 2021-12-29 12:34:57 +05:30
Ankit Singhaniya
21dace3e03 make place of supply and gst into seperate entries 2021-12-29 09:54:57 +05:30
Ankit Singhaniya
efcee2a1a1
Merge pull request #32 from piyushsinghania/feature/gstr1-b2c
Fixed dropdown CSS, removed sleep, renamed state label for India
2021-12-28 20:35:10 +05:30
Ankit Singhaniya
dccaa60017 Merge branch 'master' of github.com:frappe/books into feature/gstr1-b2c 2021-12-28 20:32:27 +05:30
Piyush Singhania
d6aa958537 Fixed dropdown CSS, removed sleep, renamed state label for India 2021-12-28 17:54:38 +05:30
18alantom
0b5e250597 refactor: DRY, use map keys for select 2021-12-28 17:33:52 +05:30
Ankit Singhaniya
80606b2cca feat: add gst1 b2cs and b2cl 2021-12-23 22:05:34 +05:30
18alantom
9869daf498 chore: remove hsnCode from non Regional 2021-12-21 12:37:25 +05:30
18alantom
1b1a5b8b84 fix: remove required on hsnCode 2021-12-21 12:37:25 +05:30
Ankit Singhaniya
90c9bd61ab make hsn and sac code a regional thing 2021-12-21 12:37:25 +05:30
Ankit Singhaniya
c0c1c26d8d move gst from print setting to account settings 2021-12-21 12:37:25 +05:30
Piyush Singhania
d8389a8b2e Altered the position of gstin input field 2021-12-21 12:37:25 +05:30
Piyush Singhania
c18db1c406 Fix gstr-1 json format for validation 2021-12-21 12:37:25 +05:30
Piyush Singhania
38713ee2d0 Added item code field for items 2021-12-21 12:37:25 +05:30
18alantom
cdce24b2a2 fix(ux): re-evaluate country dependent fields 2021-12-17 12:18:09 +05:30
18alantom
e9192fa6ef fix: reading 'map' but found null error 2021-12-17 12:18:09 +05:30
18alantom
1fd616fb0d fix(ui): No empty required selects, set placeholders everywhere 2021-12-16 18:17:32 +05:30
18alantom
95867541df fix(ux): rename Purchase Invoice to Bill & Sales Invoice to Invoice 2021-12-16 18:17:32 +05:30
18alantom
3e51c9f857 fix: auto set GST Type 2021-12-16 18:17:32 +05:30
18alantom
9e13db698e fix: add gstType to quick edit fields 2021-12-12 12:21:20 +05:30
18alantom
40ddf7a171 fix: make onboarding completable 2021-12-02 18:41:56 +05:30
18alantom
6197e78514 fix: readonly and hidden in TwoColumnForm
- make some fields readonly, hidden
- formatting
2021-12-02 15:39:02 +05:30
18alantom
3f69d7fcc5 feat: allow regional model updates 2021-12-01 18:38:00 +05:30
Piyush Singhania
8a0e295f68 Fixed payment entries not getting posted in general ledger 2021-11-29 16:02:58 +05:30
18alantom
f45ea81224 refactor: shift autoupdate to systemsettings 2021-11-25 16:48:26 +05:30
18alantom
b8671cb2ed fix: multiple payment related fixes
- outstanding amount reset on payment cancel
- payment reference type is now select
- map property on select fields for different display values
- multiple payment validations
- sensible binding payment amount and reference amount
2021-11-25 14:49:50 +05:30
Alan
50371b1a56
Merge pull request #251 from piyushsinghania/fix/error-message-while-navigating
Prevented error message on navigation
2021-11-23 10:35:01 +05:30
18alantom
4340113ac9 fix(ux): disallow negative amount in Payments 2021-11-22 12:04:29 +05:30
Piyush Singhania
f8ff30156b Prevented error message on navigation 2021-11-21 21:45:27 +05:30
Piyush Singhania
1ffd043ca9 Add ability to cancel invoice 2021-11-21 19:08:04 +05:30
18alantom
f25ccd8aa8 fix(ui): show draft status for JE and non-submitables, set Cash as default 2021-11-11 15:05:34 +05:30
18alantom
de25de1fd4 fix(ui): show status badge on an open invoice 2021-11-11 13:41:33 +05:30
18alantom
735bf3f830 fix: prevent NaN in the invoices 2021-11-10 19:09:21 +05:30
18alantom
a9c54b814e fix: set party default account only if it exists
- refactor conditionals
- formatting
2021-11-10 17:01:04 +05:30
18alantom
57a020f15e fix: autoset accounts only if present; display accounts in quick entry 2021-11-10 16:12:07 +05:30
18alantom
c20cc5a5db fix: db creation flow, don't show annoying messages when not required
- minor refactors and formatting
2021-11-09 16:08:25 +05:30
18alantom
f905fab256 fix: prevent "Saving..." due to slipping error (needs frappejs #152) 2021-11-08 19:37:06 +05:30
18alantom
96d7a9819c feat: add reversion and ledger link to payment quick entry 2021-11-08 17:36:09 +05:30
18alantom
8f64d95055 refactor: rename "Payment For" to "References"
- formatting
- change default values to function defaults
- add migration script for the Payment table
2021-11-08 15:15:27 +05:30
18alantom
09d4b305eb fix: make Payment For not required, fix amount bug, ref mandatory only if not cash 2021-11-05 20:00:28 +05:30
18alantom
1a8a23d2a2 build(electron): bump electron to 15.3.0
- refactor Common Js imports to ES6
2021-11-05 14:31:35 +05:30
Ankit Singhaniya
ae39796579
fix typo, remove extra ( 2021-11-01 23:55:59 +05:30
Ankit Singhaniya
59c57c289b
improve message when trying to pay 0 2021-11-01 23:09:31 +05:30
Ankit Singhaniya
093a297856
simplify the condition to check if value is larger then max amount 2021-11-01 23:08:08 +05:30
Piyush Singhania
4fcb54ff7c Added translation support and currency symbol in the error message 2021-11-01 19:36:02 +05:30
Piyush Singhania
6178cf55c0 Updated suggested changes 2021-10-29 23:12:10 +05:30
Piyush Singhania
102ef29d6b Added validation to give error message when trying to pay excess amount for an invoice 2021-10-29 18:26:45 +05:30
Ankit Singhaniya
ca0c2968e0
Merge pull request #13 from piyushsinghania/fix/wrong-font-in-saved-pdf
Fixed the font issue while saving pdf
2021-10-28 21:25:47 +05:30
Piyush Singhania
91b3d969c2 Fixed the font issue while saving pdf
Added font support for Basic Template
Added feature to select between platform safe fonts
2021-10-25 21:46:12 +05:30
Piyush Singhania
4996aed1de Fixed the general ledger entry issue while doing partial payments 2021-10-21 23:19:32 +05:30
Piyush Singhania
e9b3d2ca03 Added enhancement to filter out reverted invoices 2021-10-21 23:10:14 +05:30
18alantom
7ad7bf7b2f refactor: minor cleanups 2021-10-19 14:35:47 +05:30
Piyush Singhania
f0bdc4e669 Fixed auto updation of rate and tax on changing item 2021-10-19 14:31:17 +05:30
Piyush Singhania
59201366b7 Refactored Business template, used isSalesInvoice computed property rather than directly checking there in the template for it 2021-10-19 14:24:17 +05:30
Piyush Singhania
fc8ba4da6a Created a computed propert isSalesInvoice in the Base.vue component and using it in the minimal template 2021-10-19 14:23:49 +05:30
Piyush Singhania
655c1a0893 fix purchase invoice incorrect to and from in minimal template 2021-10-19 14:18:07 +05:30
Ankit Singhaniya
0ed6cc48c6 fix issue with creating new file due to formaula/default 2021-10-19 14:14:00 +05:30
Ankit Singhaniya
6343f11328 add notes to basic template back 2021-10-19 14:08:55 +05:30
Ankit Singhaniya
62359ba7ae fix formatting 2021-10-19 14:07:59 +05:30
Ankit Singhaniya
aefd70b5e3 add gst details to all templates 2021-10-19 13:52:28 +05:30
Ankit Singhaniya
7033683465 add gst information in the business template 2021-10-19 13:40:16 +05:30
Ankit Singhaniya
7d07bd17b4 add ability to show account gstin in the basic template 2021-10-19 13:33:44 +05:30
Ankit Singhaniya
d32c1de82b add gstin to party and also show up in quick edit 2021-10-19 13:19:21 +05:30
Rushabh Mehta
e2529ad116 fix: allow parital payments to invoices 2020-05-06 23:32:35 +05:30
Faris Ansari
df1518f2ad fix: Handle case when fiscal dates are not found 2020-04-30 16:41:58 +05:30
Faris Ansari
fb0744ba2b feat: Group Items in Link field 2020-04-30 16:41:20 +05:30
Faris Ansari
c2509e4105 fix: Get Started
- Add documentation links
2020-04-30 16:40:03 +05:30
Faris Ansari
3efbf5bebd fix: Remove font manager until we find alternative
- font-manager fails to build on WIndows and Linux
2020-02-10 13:25:26 +05:30
Faris Ansari
bb16c5ab56 fix: Rename Template Default to Basic 2020-02-10 13:24:06 +05:30
Faris Ansari
b7fd2e8c4a fix(Invoice Template): Right align subtotal area 2020-02-04 01:36:44 +05:30
Faris Ansari
48e22e0419 fix: Show logo and its checkbox in Customizer
- Show selected color badge
- Hide checkbox label in TwoColumnForm
2020-02-04 01:33:18 +05:30
Faris Ansari
138b0673a8 feat: Invoice Template Customizer
- Template, Color and Font fields in PrintSettings
- font-manager for loading system fonts
- 3 Invoice Templates: Default, Minimal and Business
- Delete unused old Templates
- Dont show Delete button in Singles
- Rename font family "Inter var experimental" to "Inter"
2020-02-03 23:25:11 +05:30
Faris Ansari
ce864c5d0c fix: Item Rate validation 2020-02-03 23:25:11 +05:30
Faris Ansari
827ecfd809 fix: Dont allow adding same item in another row 2020-02-03 23:25:02 +05:30
Faris Ansari
a264a7f0aa fix: Placeholder for AutoComplete and Link 2020-01-21 12:08:22 +05:30
Faris Ansari
488a8a52ea fix: GetStarted
- Mark cards as checked when task is completed
2020-01-02 22:40:18 +05:30
Faris Ansari
1dcdc1c898 fix: Rename 'Pending' to 'Unpaid' 2020-01-02 22:38:39 +05:30