mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-21 22:05:45 +00:00
refactor(FE-326): Add ClosingApiService and types for closing sales data
This commit is contained in:
Vendored
+26
@@ -0,0 +1,26 @@
|
||||
import { BaseMetadata } from '@/types/api/api-general';
|
||||
import { Kandang } from '@type/api/master-data/kandang';
|
||||
import { Product } from '@type/api/master-data/product';
|
||||
import { ProductCategory } from '@type/api/master-data/product-category';
|
||||
import { Customer } from '@type/api/master-data/customer';
|
||||
|
||||
export type BaseClosingSales = {
|
||||
id: number;
|
||||
realization_date: string;
|
||||
week_age: number;
|
||||
age_label: string;
|
||||
delivery_order_number: string;
|
||||
product: Product;
|
||||
product_category: ProductCategory;
|
||||
customer: Customer;
|
||||
quantity: number;
|
||||
weight: number;
|
||||
average: number;
|
||||
price: number;
|
||||
total: number;
|
||||
kandang: Kandang;
|
||||
kandang_id: number;
|
||||
payment_status: string;
|
||||
};
|
||||
|
||||
export type ClosingSales = BaseMetadata & BaseClosingSales;
|
||||
Reference in New Issue
Block a user