รายการเลื่อนค่าจ้างลูกจ้างประจำ => เพิ่ม List รายงานเลื่อนคำสั่งลูกจ้างประจำ
This commit is contained in:
parent
1d736ae0ab
commit
93fc17cea0
2 changed files with 55 additions and 31 deletions
|
|
@ -300,15 +300,15 @@ function fetchDataPeriodNew() {
|
|||
|
||||
function onClickDownload(data: DataOption) {
|
||||
showLoader();
|
||||
if (data.id === "emp-08") {
|
||||
if (data.id === "emp-08" || data.id === "emp2-08") {
|
||||
const formData = {
|
||||
type: "HAFT",
|
||||
startDate:
|
||||
props?.roundFilter?.shortCode === "APR"
|
||||
data.id === "emp-08"
|
||||
? `${props?.roundFilter?.year - 1}-10-01`
|
||||
: `${props?.roundFilter?.year}-04-01`,
|
||||
endDate:
|
||||
props?.roundFilter?.shortCode === "APR"
|
||||
data.id === "emp-08"
|
||||
? `${props?.roundFilter?.year}-03-31`
|
||||
: `${props?.roundFilter?.year}-09-30`,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue