Merge branch 'develop' of github.com:Frappet/bma-ehr-organization into develop

This commit is contained in:
Kittapath 2024-02-15 09:26:11 +07:00
commit dc8aec848b

View file

@ -1690,9 +1690,9 @@ export class OrganizationController extends Controller {
} }
const formattedData = { const formattedData = {
departmentName: "กรุงเทพมหานคร", departmentName: data.orgRevisionName,
deptID: data.id, deptID: data.id,
type: 0, type: data.posMasters.length,
// heads: // heads:
totalPositionCount: await this.posMasterRepository.count({ totalPositionCount: await this.posMasterRepository.count({
where: { orgRevisionId: data.id }, where: { orgRevisionId: data.id },