This commit is contained in:
Sabda Yagra 2025-12-05 22:50:32 +07:00
commit d10bd92960
1 changed files with 8 additions and 6 deletions

View File

@ -146,14 +146,16 @@ interface AcceptanceData {
interface AcceptanceData { interface AcceptanceData {
id: number; id: number;
userLevelId: number; userProfileId: number;
sentAt: string; sentAt: string;
isAccept: boolean; isAccept: boolean;
isSent: boolean; isSent: boolean;
userLevels: { userProfiles: {
id: number; id: number;
name: string; fullname: string;
aliasName: string; userKeycloak: {
username: string;
}
}; };
} }
@ -841,7 +843,7 @@ export default function FormTaskTaDetail() {
<thead> <thead>
<tr className="bg-gray-100 border-b"> <tr className="bg-gray-100 border-b">
<th className="px-4 py-2 text-left">Waktu</th> <th className="px-4 py-2 text-left">Waktu</th>
<th className="px-4 py-2 text-left">Unit</th> <th className="px-4 py-2 text-left">Tenaga Ahli</th>
<th className="px-4 py-2 text-left">Status</th> <th className="px-4 py-2 text-left">Status</th>
</tr> </tr>
</thead> </thead>
@ -852,7 +854,7 @@ export default function FormTaskTaDetail() {
<td className="px-4 py-2"> <td className="px-4 py-2">
{new Date(item.sentAt).toLocaleString()} {new Date(item.sentAt).toLocaleString()}
</td> </td>
<td className="px-4 py-2">{item.userLevels.name}</td> <td className="px-4 py-2">{item.userProfiles.fullname} <i>({item.userProfiles.userKeycloak.username})</i></td>
<td className="px-4 py-2"> <td className="px-4 py-2">
{type === "terkirim" ? "Terkirim" : "Diterima"} {type === "terkirim" ? "Terkirim" : "Diterima"}
</td> </td>