fix: adjust ReportDepreciation type

This commit is contained in:
ValdiANS
2026-04-20 00:30:07 +07:00
parent aa4da686c6
commit f49822d03d
+30 -7
View File
@@ -54,13 +54,36 @@ export type ReportExpenseSearchParams = {
};
export type ReportDepreciation = {
id: string;
flock: string;
totalCostPullet: number;
totalDepresiasi: number;
periode: string;
farm: string;
jumlahKandang: number;
project_flock_id: number;
farm_name: string;
period: string;
depreciation_percent_effective: number;
depreciation_value: number;
pullet_cost_day_n_total: number;
hpp?: number;
components: {
kandang: {
kandang_id: number;
hpp?: number;
transfer_id: number;
cutover_date: string;
kandang_name: string;
manual_input_id: number;
depreciation_value: number;
start_schedule_day: number;
depreciation_percent: number;
source_project_flock_id: number;
day_n: number;
transfer_date: string;
pullet_cost_day_n: number;
depreciation_source: string;
project_flock_kandang_id: number;
transfer_qty: number;
house_type: string;
origin_date: string;
}[];
kandang_count: number;
};
};
export type ReportDepreciationSearchParams = {