add template report and form , as well as migration code for it

This commit is contained in:
prafull-opensignlabs
2023-12-20 14:33:41 +05:30
parent 4e8988bf57
commit 8ebfd781c3
13 changed files with 808 additions and 215 deletions
@@ -19,7 +19,7 @@ export default async function getReport(request) {
const userId = userRes.data && userRes.data.objectId;
if (userId) {
const json = reportId && reportJson(reportId, userId);
const clsName = reportId === '5KhaPr482K' ? 'contracts_Contactbook' : 'contracts_Document';
const clsName = json?.reportClass ? json.reportClass : 'contracts_Document';
if (json) {
const { params, keys } = json;
const orderBy = '-updatedAt';