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

This commit is contained in:
Kittapath 2024-04-30 13:20:22 +07:00
commit 722adb571a
2 changed files with 10 additions and 0 deletions

View file

@ -174,6 +174,14 @@ export class DevelopmentScholarshipController extends Controller {
keyword: `%${keyword}%`,
},
)
.orWhere(
keyword != null && keyword != ""
? "developmentScholarship.citizenId LIKE :keyword"
: "1=1",
{
keyword: `%${keyword}%`,
},
)
.orWhere(
keyword != null && keyword != ""
? "developmentScholarship.position LIKE :keyword"

View file

@ -286,6 +286,8 @@ export class ReportController extends Controller {
? ""
: Extension.ToThaiNumber(Extension.ToThaiFullDate(getDevelopment.graduatedDate)),
graduatedReason: getDevelopment.graduatedReason,
useOfficialTime: getDevelopment.useOfficialTime,
isGraduated: getDevelopment.isGraduated
};
return new HttpSuccess({