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

This commit is contained in:
Kittapath 2024-03-18 13:52:04 +07:00
commit 8bd43b508c

View file

@ -47,13 +47,13 @@ export class ReportController extends Controller {
private salaryProfileRepository = AppDataSource.getRepository(SalaryProfile); private salaryProfileRepository = AppDataSource.getRepository(SalaryProfile);
/** /**
* API * API
* *
* @summary * @summary
* *
* @param {string} id Guid, *Id * @param {string} id Guid, *Id
*/ */
@Get("1/0/{id}") @Get("{id}")
async SalaryReport(@Path() id: string) { async SalaryReport(@Path() id: string) {
const salarys = await this.salaryRepository.findOne({ const salarys = await this.salaryRepository.findOne({
where: { id: id } where: { id: id }