update expense-claims
This commit is contained in:
@@ -302,8 +302,8 @@ model Leave {
|
||||
employeeId String
|
||||
employee Employee @relation(fields: [employeeId], references: [id])
|
||||
leaveType String // ANNUAL, SICK, UNPAID, EMERGENCY, etc.
|
||||
startDate DateTime @db.Date
|
||||
endDate DateTime @db.Date
|
||||
startDate DateTime @db.Timestamp(3)
|
||||
endDate DateTime @db.Timestamp(3)
|
||||
days Int
|
||||
reason String?
|
||||
status String @default("PENDING") // PENDING, APPROVED, REJECTED
|
||||
@@ -523,6 +523,7 @@ model ExpenseClaim {
|
||||
approvedBy String?
|
||||
approvedAt DateTime?
|
||||
rejectedReason String?
|
||||
approvalNote String?
|
||||
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
Reference in New Issue
Block a user