mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-21 13:55:45 +00:00
Merge branch 'development' of gitlab.com:mbugroup/lti-web-client into feat/FE/US-281-439/TASK-440-441-recording-page-and-form-adjustment
This commit is contained in:
Vendored
+6
-7
@@ -6,6 +6,11 @@ import { Kandang } from '@/types/api/master-data/kandang';
|
||||
import { Product } from '@type/api/master-data/product';
|
||||
import { Customer } from '@type/api/master-data/customer';
|
||||
import { BaseMetadata } from '@/types/api/api-general';
|
||||
import { Kandang } from '@/types/api/master-data/kandang';
|
||||
import { Product } from '@type/api/master-data/product';
|
||||
import { Customer } from '@type/api/master-data/customer';
|
||||
import { BaseMetadata } from '@/types/api/api-general';
|
||||
import { ProjectFlock } from '@/types/api/production/project-flock';
|
||||
|
||||
export type BaseSales = {
|
||||
id: number;
|
||||
@@ -29,10 +34,6 @@ export type BaseClosingSales = {
|
||||
period: number;
|
||||
sales: BaseSales[];
|
||||
};
|
||||
import { Kandang } from '@/types/api/master-data/kandang';
|
||||
import { Product } from '@type/api/master-data/product';
|
||||
import { Customer } from '@type/api/master-data/customer';
|
||||
import { BaseMetadata } from '@/types/api/api-general';
|
||||
|
||||
export type BaseSales = {
|
||||
id: number;
|
||||
@@ -66,9 +67,6 @@ export type BaseClosing = {
|
||||
closing_date?: string;
|
||||
shed_label: string;
|
||||
shed_count: number;
|
||||
sales_paid_amount: number;
|
||||
sales_remaining_amount: number;
|
||||
sales_payment_status: string;
|
||||
project_status: 'Pengajuan' | 'Aktif' | 'Selesai';
|
||||
};
|
||||
|
||||
@@ -83,6 +81,7 @@ export type BaseClosingGeneralInformation = BaseClosing & {
|
||||
sales_payment_status: string;
|
||||
project_status: 'Pengajuan' | 'Aktif' | 'Selesai';
|
||||
closing_status: string;
|
||||
project_flock: ProjectFlock;
|
||||
};
|
||||
|
||||
export type ClosingGeneralInformation = BaseMetadata &
|
||||
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
import { BaseMetadata } from '@/types/api/api-general';
|
||||
import { ProjectFlock } from '@/types/api/production/project-flock';
|
||||
import { BaseKandang } from '@/types/api/master-data/kandang';
|
||||
|
||||
export type BaseProductionResult = {
|
||||
project_flock: Pick<ProjectFlock, 'id' | 'name' | 'category'> & {
|
||||
kandang: Pick<BaseKandang, 'id' | 'name'>;
|
||||
};
|
||||
|
||||
woa: number;
|
||||
|
||||
// BW
|
||||
bw: number;
|
||||
std_bw: number;
|
||||
uniformity: number;
|
||||
std_uniformity: string; // "90% up" - keeping as string based on "up" suffix potential
|
||||
|
||||
// Dep
|
||||
dep_kum: number;
|
||||
dep_std: number;
|
||||
|
||||
// Butiran
|
||||
butiran_utuh: number;
|
||||
butiran_putih: number;
|
||||
butiran_retak: number;
|
||||
butiran_pecah: number;
|
||||
butiran_jumlah: number;
|
||||
total_butir: number;
|
||||
|
||||
// Kg
|
||||
kg_utuh: number;
|
||||
kg_putih: number;
|
||||
kg_retak: number;
|
||||
kg_pecah: number;
|
||||
kg_jumlah: number;
|
||||
total_kg: number;
|
||||
|
||||
// %
|
||||
persen_utuh: number;
|
||||
persen_putih: number;
|
||||
persen_retak: number;
|
||||
persen_pecah: number;
|
||||
|
||||
// Produksi
|
||||
hd: number;
|
||||
hd_std: number;
|
||||
fi: number;
|
||||
fi_std: number;
|
||||
em: number;
|
||||
em_std: number;
|
||||
ew: number;
|
||||
ew_std: number;
|
||||
fcr: number;
|
||||
fcr_std: number;
|
||||
hh: number;
|
||||
hh_std: number;
|
||||
};
|
||||
|
||||
export type ProductionResult = BaseMetadata & BaseProductionResult;
|
||||
Reference in New Issue
Block a user