feat: update task-ta detail
This commit is contained in:
parent
a9e205b9f0
commit
bff80d87cd
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue