Commit graph

5058 commits

Author SHA1 Message Date
Rafael Taranto
4d8fbba96c fix: footer spacing on wizard 2025-06-30 07:08:25 +01:00
Rafael Taranto
4b9d101233 Merge pull request #1895 from siiky/fix/lam-1457/commitssion-profit-percentages
LAM-1457 refactor: commission profit data
2025-06-26 18:16:47 +01:00
Rafael Taranto
b576ed0f95 Merge pull request #1896 from siiky/fix/lam-1462/cashbox-total
LAM-1462 fix: cashbox total
2025-06-26 11:06:04 +01:00
siiky
20809f1d81 fix: cashbox total 2025-06-26 10:16:58 +01:00
siiky
8336c36d28 refactor: DRY 2025-06-25 13:08:45 +01:00
siiky
0de4fcce93 refactor: don't recompute direction percentages 2025-06-25 13:08:45 +01:00
siiky
6e8e784dc8 refactor: use BN arithmetic inside sum
Converting to BN after summing all the floats gives no advantage, the
damage is done.
2025-06-25 13:08:45 +01:00
siiky
4b723476bc chore: remove true clause from return expressions
It is already checked at the top of the function.
2025-06-25 13:04:29 +01:00
siiky
e103bc2f12 refactor: there's a single transactions array now
And avoids a possible (though rare) crash...?
2025-06-25 13:04:29 +01:00
Rafael Taranto
9125b26e88 Merge pull request #1890 from RafaelTaranto/feat/async-autocomplete-on-loyalty-page
LAM-1453 feat: async autocomplete on loyalty page
2025-06-25 11:21:10 +01:00
Rafael Taranto
c006074e05 Merge pull request #1894 from RafaelTaranto/fix/update-counts-on-cash-units
LAM-1460 fix: update counts stale ui
2025-06-25 11:20:41 +01:00
Rafael Taranto
268f2d68fd fix: make sure loading is true when refetching 2025-06-24 12:27:03 +01:00
Rafael Taranto
f1e5edd4ac feat: async autocomplete on individual discounts 2025-06-24 12:27:03 +01:00
Rafael Taranto
d0aaf6c170 Merge pull request #1889 from RafaelTaranto/feat/txs-new-table
LAM-1439 feat: txs new table
2025-06-24 12:26:22 +01:00
Rafael Taranto
fdff4feeae fix: trim customer names 2025-06-24 12:24:52 +01:00
Rafael Taranto
686dc3e992 chore: Promise all leftovers from complex selects 2025-06-24 12:19:47 +01:00
Rafael Taranto
6ede7fab90 chore: debugging leftovers 2025-06-24 12:06:12 +01:00
Rafael Taranto
ff7db56666 chore: rename query logger 2025-06-24 12:01:27 +01:00
Rafael Taranto
ce1238c406 fix: use ID instead of string 2025-06-24 12:00:40 +01:00
Rafael Taranto
6e942e619c Revert "chore: testing new github rules"
This reverts commit 488cf486e8.
2025-06-24 11:17:10 +01:00
Rafael Taranto
488cf486e8 chore: testing new github rules 2025-06-24 11:13:38 +01:00
Rafael Taranto
d9ea7407ee fix: update counts stale ui 2025-06-24 11:12:10 +01:00
Rafael Taranto
801e7e54ff fix: properly propagate errors to the machine 2025-06-24 10:50:29 +01:00
Rafael Taranto
8a9fb1d497 Merge pull request #1891 from RafaelTaranto/fix/analytics-top-machines
LAM-1466 fix: ramda usage on top machines graph
2025-06-24 09:18:54 +01:00
Rafael Taranto
25f7bab775 Merge pull request #1893 from siiky/fix/lam-1462/exclude-bills-of-unpaired-machines
LAM-1462 fix: exclude bills of unpaired machines
2025-06-24 09:18:13 +01:00
Rafael Taranto
a538a5c735 Merge pull request #1892 from RafaelTaranto/fix/small-ui-changes
LAM-1431 fix: small UI changes
2025-06-24 09:16:19 +01:00
siiky
8b0ac8a182 refactor: simplify bills processing code 2025-06-23 17:17:53 +01:00
siiky
7ba9332436 refactor: simplify bills handling code 2025-06-23 17:17:53 +01:00
siiky
317660e8d9 chore: use meaningful names 2025-06-23 17:17:53 +01:00
siiky
2f7724bd12 fix: exclude unbatched bills of unpaired machines 2025-06-23 17:17:53 +01:00
siiky
1331aad0ac refactor: simplify bills query building 2025-06-23 17:03:21 +01:00
Rafael Taranto
95c8584114 fix: marging on help tooptip button 2025-06-23 14:17:53 +01:00
Rafael Taranto
ce61f5dc6c fix: tooltip button line-height 2025-06-23 14:12:54 +01:00
Rafael Taranto
22dedf1a03 fix: margin on diagnostics modal 2025-06-23 14:03:13 +01:00
Rafael Taranto
0bcc3d31f8 fix: ramda usage on top machines graph 2025-06-23 14:00:18 +01:00
siiky
e83e74f9d1 chore: format SQL queries 2025-06-23 13:18:57 +01:00
Rafael Taranto
790cdd8fec fix: add csv fields to query 2025-06-19 11:56:25 +01:00
Rafael Taranto
d6166ce752 feat: transactions table 2025-06-19 11:23:12 +01:00
Rafael Taranto
1ead9fe359 fix: multi level sort number being cut 2025-06-19 10:28:48 +01:00
Rafael Taranto
0e7aa6006c fix: errored txs may not have txhash 2025-06-19 10:28:48 +01:00
Rafael Taranto
50eb0a0933 Merge pull request #1888 from siiky/fix/lam-1456/reload-machine-name-on-change
LAM-1456 fix: reload machine name on change
2025-06-18 18:32:39 +01:00
Rafael Taranto
0937e03c77 Merge pull request #1887 from siiky/fix/lam-1454/settings-loader-tasks
LAM-1454 fix: drop all `db.task.batch()` uses
2025-06-18 18:30:20 +01:00
siiky
8b7d3e10e5 chore: drop unused reload() 2025-06-18 17:37:39 +01:00
siiky
cd7500181e fix: reload machine name on change 2025-06-18 17:36:40 +01:00
siiky
38d3c9de41 fix: drop all db.task.batch() uses 2025-06-18 14:16:57 +01:00
Rafael Taranto
1c8d542080 Merge pull request #1886 from siiky/fix/lam-1455/diagnostics
LAM-1455 fix: don't try to show diagnostics photos if they're missing
2025-06-17 13:29:13 +01:00
siiky
7f5b0bbbf5 fix: don't try to show diagnostics if they're missing 2025-06-17 12:10:34 +01:00
siiky
e9d219bc6c fix: put diagnostic timestamps in the right fields 2025-06-17 11:58:41 +01:00
siiky
fc649a0b99 fix: update diagnostics timestamps depending on photo creation 2025-06-17 11:56:02 +01:00
siiky
70b72dc27b feat: propagate photo creation success/failure 2025-06-17 11:55:35 +01:00