2
0
mirror of https://github.com/frappe/books.git synced 2024-12-22 10:58:59 +00:00
books/reports
Mildred Ki'Lya d04b1561cd fix(reports): correct date calculation in AccountReport
fyo.getValue(*, 'fiscalYear{Start,End}') returns a javascript Date object
that encodes the filcal year as local time (01-01 and 12-31 at midnight).
This date must not be converted to UTC else east timezones will return
the day before (12-31 and 12-30). Use locale time values instead.

When computing the monthly/quaterly/half yearly time periods, correct the
dates in the particular case where the last day of the month is selected
as reference date (yields series 12-31 11-30 10-31 09-30 ...) instead of
(12-31 11-30 10-30 09-30 ...).
2023-12-05 21:37:37 +01:00
..
BalanceSheet chore: fix all fixable eslint errors in remaining non vue files 2023-06-22 14:22:54 +05:30
GeneralLedger chore: fix all fixable eslint errors in remaining non vue files 2023-06-22 14:22:54 +05:30
GoodsAndServiceTax incr: remove src imports from ipcCalls.ts 2023-07-10 13:03:32 +05:30
inventory fix: remove valuation selection 2023-09-25 23:59:34 -07:00
ProfitAndLoss chore: fix all fixable eslint errors in remaining non vue files 2023-06-22 14:22:54 +05:30
TrialBalance chore: fix all fixable eslint errors in remaining non vue files 2023-06-22 14:22:54 +05:30
AccountReport.ts fix(reports): correct date calculation in AccountReport 2023-12-05 21:37:37 +01:00
commonExporter.ts refactor: switch to preload script 2023-07-10 13:33:52 +05:30
index.ts feat: report to pdf 2023-06-13 13:37:39 +05:30
LedgerReport.ts feat: stock return 2023-07-01 13:01:00 +05:30
README.md incr: fix build issue and minor updates to readme 2022-05-27 00:45:05 +05:30
Report.ts chore: fix all fixable eslint errors in remaining non vue files 2023-06-22 14:22:54 +05:30
types.ts refactor: improve type definition of Field 2023-02-01 14:30:02 +05:30

Reports

Reports are a view of stored data, the code here doesn't alter any data.

All reports should extend the Report class in reports/Report.ts, depending on the report it may have custom .vue files. Check the type.ts file for the shape of the report data.