feat: report to pdf

This commit is contained in:
18alantom
2023-06-13 13:37:39 +05:30
parent a4729e2a6c
commit d3d5d56f09
10 changed files with 520 additions and 167 deletions
+3
View File
@@ -19,6 +19,8 @@ import * as errors from './utils/errors';
import { format } from './utils/format';
import { t, T } from './utils/translation';
import { ErrorLog } from './utils/types';
import type { reports } from 'reports/index';
import type { Report } from 'reports/Report';
export class Fyo {
t = t;
@@ -234,6 +236,7 @@ export class Fyo {
deviceId: '',
openCount: -1,
appFlags: {} as Record<string, boolean>,
reports: {} as Record<keyof typeof reports, Report | undefined>,
};
}