Repository navigation
Total 0.12.2
A warning for advances on goods (#259, WP 2d). A regular business pays GST on goods when it
invoices, not when the customer pays in advance (Notification 66/2017-Central Tax). The GSTR-1
checks now warn when an advance in Table 11A comes from a customer you sell goods to, going by the
HSN codes on that customer's earlier bills, or on your own bills if they have none yet. The warning
names the receipts. For accountants: Table 11A / 11B and GSTR-3B are unchanged. The warning also
says that clearing the customer's GST rate would take all of their advances out of 11A and 11B in
every month, including months already filed, so check with your CA first.
The same keys in both modes, and approvals and the GST portal everywhere (#258, Phase 5 polish).
⌘↵ (Ctrl+Enter on Windows) now saves in every dialog (it presses the dialog's main button) and on
the settings-style screens that have one Save. In the full app, Esc closes the side panel (Ask, the
AI conversation) before it backs out of the screen, as it already did in simple mode. The full
app's Dashboard now says when proposals wait for your approval and opens the approval queue, and
simple Taxes can fetch a month's GSTR-2B from the portal (test mode) right in step 2. No figure
changes.
"Accountant view" now carries the whole job (#255, Phase 5 polish). A sale or purchase paid
now, or a return refunded now, used to leave the payment behind when you opened the full editor
("add it under Money in"). Now, once the bill is saved there, Total offers "Record the ₹X received"
and opens the receipt (or payment) already filled in and set against that bill. Changes made in
the full editor for a stock count or for made goods now come back to the simple screen with "Back to
simple", like the other flows. For accountants: no figure changes — the second step is the same
receipt / payment simple:post saves (tested entry for entry).
Total opens faster, and Home no longer jumps (#253, Phase 5 speed). On a big business
(100,000 entries) Home is on screen and usable about 0.5 s sooner (launch → Home shown 1.47 →
0.93 s; every figure in 3.05 → 2.60 s in the full app, 2.90 → 2.45 s in simple mode). Opening a
business no longer waits for a page-by-page copy of its books — the automatic backup taken on open
is now an instant copy of the file (on a Mac) or a copy made off the main thread, holding exactly
the same books. The window appears before the app has finished setting up, and two libraries
(the AI service's and the updater's) load only when they are first needed. While Home loads, its
tiles and cards are drawn as grey placeholders of their real size, so nothing moves when the
figures arrive (the full app's dashboard used to jump by a sixth of the screen); simple Home shows
its whole layout at once, and a person's page shows its shape instead of a blank page.
For accountants: no figure changes (the report and search fixtures are unchanged).
For developers: snapshotTo copies the file under a pinned read (pinnedFileCopy, cloneFile)
and falls back to the online backup; perf-launch.mjs --trace prints main's start-up steps
(src/main/bootTrace.ts) and the renderer's timings, and reports launch → Home shown;
DashCard takes loadingHeight; TOTAL_SOURCEMAP=1 builds renderer source maps for bundle
analysis.
Updates are checked as genuine before they are offered (#251, audit A4). Every release now
carries a signed list of its files (total-manifest.json, Ed25519). Total offers a new version only
when that list verifies against the key built into the app, installs a downloaded update only when
the file matches it, and a manual download opens that exact installer on GitHub. The updater opens
only https pages of the site or of Total's GitHub releases. New encrypted backups (.totalbak) use
a stronger passphrase key (scrypt N = 2^17); older ones still open. A new .totalbak opens only in
this version of Total or later — update Total on the other computer first.
Under the hood: code-health checks, part 4 (#260, audit A11). Nothing changes for users. Unused
code is gone (an old report-columns button, an unused GST summary, 16 unused phrases in each
language, an unused package), the forex maths only the old-books tests still need moved out of the
app, and 25 private copies of "add days" / "days between" now use the one in dates.ts.
For developers: daysBetweenISO in src/shared/dates.ts; src/shared/forexWriters.testutil.ts;
what was not a pure dedupe (party side by group name, one rounding rule) is listed in to-do.md §6.
Under the hood: code-health checks, part 3 (#257, audit A11). Nothing changes for users.
The end-to-end tests no longer wait fixed times (86 sleeps): each waits for what it needs, so a
busy test machine can't make them flaky, and a new test fails if a sleep comes back. For
developers: h.frames(), h.ipcDrained(), until() in the harness; scripts/lib/noSleeps.test.ts.
Under the hood: code-health checks, part 2 (#256, audit A11). Nothing changes for users. CI
now runs ESLint: the React hook rules on the screens and a check that no promise is left unhandled
by accident. Every place a rule is switched off says why. For developers: npm run lint,
eslint.config.mjs. The Gateway's key handler now lists features.manufacturing (the lint's find;
it already re-bound through shortcuts, so nothing changed for users — #257 adds the test).
Under the hood: code-health checks, part 1 (#254, audit A11). Nothing changes for users. A new
test fails when a query reads entries without leaving out the ones in the bin (unless it says why it
may see them), every CI job has a time limit, and pull requests now run a short end-to-end subset.
For developers: notDeletedLint.test.ts, sqlStrings.testutil.ts shared with movesStockLint.
Under the hood: ipc.ts split by area (#252, audit A12). Nothing changes for users. The
3,756-line src/main/ipc.ts keeps the company lifecycle, backups, sign-in and security; every other
area's channels now live in their own src/main/ipc<Area>.ts (simple flows, vouchers, masters, trade,
inventory, reports, GST, TDS / TCS, bank reconciliation, printing, payroll, import / export, NIC, edit
log, agent bridge), moved, not rewritten. For developers: every channel's role / capability gate is
pinned in src/main/__fixtures__/ipcChannels.json (ipcChannels.dbtest.ts) — a new channel adds its
row; scripts/ipc-handlers-diff.mjs compares handlers' source with a git ref.
The first ten minutes (#248, audit A7). "Try with sample data" now opens a sample shop that
makes sense: its day-one cash, bank, stock and old bills are entered, every product has a selling
price, stock never goes below zero (restocks come before the sales that need them, so goods sold
cost something), customers pay after their credit days — one of them late — and rent, electricity
and salary go out each month; the profit is real. The simple Stock list now says "Sold more than
recorded" for a product below zero and explains what that does to its worth and to profit.
Settings → Business details is a plain screen in your language: name, address, phone, e-mail,
GST number, PAN, and the logo and bank details printed on your bills (registration, state,
e-invoices and TAN stay in the full form, one click away); Home's "Add your business details"
opens it. A new business's empty Home leads with "Make your first bill". The first screen shows
the wizard and the sample; the accountant ways in wait behind "I'm an accountant, or I have a
backup". "Starting fresh" starts the books today unless you pick another day, and Home no longer
reminds a business that started fresh about GST months before its first entry (the Taxes screen
still lists them). Fixed: the GST tile showed the previous month's due date for the running month
when the month before was skipped, and Home could miss a bill saved a moment before.
For accountants: no figure changes — the full app's "Sample data in the full app" is the same
sample as before. For developers: new screen simple-business; createDemoCompany('simple') →
services/sampleShop.ts; homeGstStart in services/simpleHome.ts; e2e 80.
-
Switch company with ⌘O (A8 part 2). Plain words: in the full app, ⌘O opens a small list of
your other businesses — the one you opened last first — that you can filter by typing a name,
GSTIN or state; Enter opens it. The company list screen also puts the business opened last first,
gets a filter box once there are more than five, and no longer makes "Set up your business" its
main button when businesses already exist. Nothing about the books changes. -
Accountant defaults a CA would otherwise change every time (A8 part 1). Plain words: in the
full app a sales bill's party list now starts with your customers (the ones you billed last on
top), then cash and bank, then suppliers — a purchase starts with suppliers — and never offers a
tax, income or expense account as the buyer. GSTR-1, GSTR-3B and GSTR-2B open on the month being
filed (the one the Gateway's GST card names) instead of the running month. The trial balance,
balance sheet and P&L stop at today while the year is still running (the trial balance says so,
and Options → "Stop at today" reads the year end); the trial balance has a Group-wise switch and
P&L / balance sheet show "Compare periods" in the header. On a sales bill, Tab reaches Save before
Cancel and the e-way fields (vehicle, transporter, distance) wait under "GST and dispatch
details". No figure changes: every report is the same for the same date. -
CI gets Electron from its own cache (#247). Plain words: nothing in the app changes. For
developers: every CI / release job that runs Electron restores the Electron download (and, where it
packages, electron-builder's tools) from the GitHub Actions cache, keyed by OS and the exact
versions in package-lock.json, and installs the binary once right afternpm ci
(.github/actions/electron-binary) — GitHub's release downloads answering 502 / 504 (8 Nov) no
longer failtest/build-win, and parallel test workers no longer race to download it.
Full history: CHANGELOG.md.