เพิ่มฟิลด์ rootName รายงานบัญชี2

This commit is contained in:
Bright 2025-04-11 17:51:36 +07:00
parent e585e41a70
commit 4b4cae4db7

View file

@ -385,7 +385,6 @@ export class ReportController extends Controller {
},
});
}
return new HttpSuccess({
data: mapData,
total: total,
@ -5604,7 +5603,15 @@ export class ReportController extends Controller {
}
}
}
return new HttpSuccess({ template: "report2", reportName: "report2", data: { data } });
return new HttpSuccess({
template: "report2",
reportName: "report2",
data: {
rootName: orgRootData.length > 0 ? orgRootData[0].orgRootName : "-",
data: data
}
});
}
/**
* API Report3