diff --git a/src/controllers/ReportController.ts b/src/controllers/ReportController.ts index 3e1c2ae..44d799c 100644 --- a/src/controllers/ReportController.ts +++ b/src/controllers/ReportController.ts @@ -6317,7 +6317,7 @@ export class ReportController extends Controller { templateDoc: null, }) .then(async (x) => { - salary.status == "DONE"; + salary.status = "DONE"; await this.salaryProfileRepository.save(salary); }); } @@ -6364,7 +6364,7 @@ export class ReportController extends Controller { templateDoc: null, }) .then(async (x) => { - salary.status == "DONE"; + salary.status = "DONE"; await this.salaryProfileRepository.save(salary); }); } @@ -6411,7 +6411,7 @@ export class ReportController extends Controller { templateDoc: null, }) .then(async (x) => { - salary.status == "DONE"; + salary.status = "DONE"; await this.salaryProfileRepository.save(salary); }); } @@ -6458,7 +6458,7 @@ export class ReportController extends Controller { // templateDoc: null, // }) // .then(async (x) => { - salary.status == "DONE"; + salary.status = "DONE"; await this.salaryProfileEmployeeRepository.save(salary); // }); } @@ -6505,7 +6505,7 @@ export class ReportController extends Controller { // templateDoc: null, // }) // .then(async (x) => { - salary.status == "DONE"; + salary.status = "DONE"; await this.salaryProfileEmployeeRepository.save(salary); // }); }