no message
This commit is contained in:
parent
5af1ef281a
commit
3234878df5
1 changed files with 2 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ import Extension from "../interfaces/extension";
|
||||||
|
|
||||||
@Route("api/v1/salary/report/1")
|
@Route("api/v1/salary/report/1")
|
||||||
@Tags("Report")
|
@Tags("Report")
|
||||||
// @Security("bearerAuth")
|
@Security("bearerAuth")
|
||||||
@Response(
|
@Response(
|
||||||
HttpStatusCode.INTERNAL_SERVER_ERROR,
|
HttpStatusCode.INTERNAL_SERVER_ERROR,
|
||||||
"เกิดข้อผิดพลาด ไม่สามารถแสดงรายการได้ กรุณาลองใหม่ในภายหลัง",
|
"เกิดข้อผิดพลาด ไม่สามารถแสดงรายการได้ กรุณาลองใหม่ในภายหลัง",
|
||||||
|
|
@ -82,6 +82,7 @@ export class Report_1_Controller extends Controller {
|
||||||
|
|
||||||
const mapData = {
|
const mapData = {
|
||||||
effectiveDate : salaryPeriod?.effectiveDate,
|
effectiveDate : salaryPeriod?.effectiveDate,
|
||||||
|
root: salaryProfile[0]?.root,
|
||||||
profile: salaryProfile.map((item, index) => ({
|
profile: salaryProfile.map((item, index) => ({
|
||||||
no: index+1,
|
no: index+1,
|
||||||
fullname: item.prefix + item.firstName +" "+ item.lastName,
|
fullname: item.prefix + item.firstName +" "+ item.lastName,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue