refactor(FE): Prefer latest_approval action and add file_name

This commit is contained in:
rstubryan
2026-01-06 14:01:01 +07:00
parent f22c4e4798
commit 2fa086bb32
2 changed files with 15 additions and 10 deletions
+1 -3
View File
@@ -1,7 +1,4 @@
import { BaseMetadata } from '@/types/api/api-general';
import { Location } from '@/types/api/location/location';
import { ProjectFlock } from '@/types/api/project-flock/project-flock';
import { Kandang } from '@/types/api/kandang/kandang';
import { BaseApproval } from '@/types/api/approval/approval';
// ==================== GET ALL RESPONSE ====================
@@ -11,6 +8,7 @@ export type Uniformity = BaseMetadata & {
location_name: string;
flock_name: string;
kandang_name: string;
file_name: string;
applied_at: string;
week: number;
status: string;