mirror of
https://github.com/frappe/books.git
synced 2024-12-22 10:58:59 +00:00
d04b1561cd
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 ...). |
||
---|---|---|
.. | ||
BalanceSheet | ||
GeneralLedger | ||
GoodsAndServiceTax | ||
inventory | ||
ProfitAndLoss | ||
TrialBalance | ||
AccountReport.ts | ||
commonExporter.ts | ||
index.ts | ||
LedgerReport.ts | ||
README.md | ||
Report.ts | ||
types.ts |
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.