mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-22 06:15:47 +00:00
refactor(FE-361,363): Refactor purchases-per-supplier report to use API
This commit is contained in:
+6
-5
@@ -1,7 +1,7 @@
|
||||
import { BaseMetadata } from '@/types/api/api-general';
|
||||
import { Supplier } from '@/types/api/supplier/supplier';
|
||||
import { Product } from '@/types/api/product/product';
|
||||
import { Area } from '@types/api/area/area';
|
||||
import { Area } from '@/types/api/area/area';
|
||||
|
||||
export type LogisticPurchasePerSupplierItems = {
|
||||
id: number;
|
||||
@@ -20,11 +20,12 @@ export type LogisticPurchasePerSupplierItems = {
|
||||
travel_number: string;
|
||||
};
|
||||
|
||||
export type BaseLogisticPurchasePerSupplierReport = {
|
||||
export type SupplierWithItems = {
|
||||
id: number;
|
||||
supplier: Supplier;
|
||||
items: LogisticStockItems[];
|
||||
items: LogisticPurchasePerSupplierItems[];
|
||||
};
|
||||
|
||||
export type LogisticPurchasePerSupplierReport = BaseMetadata &
|
||||
BaseLogisticStockReport;
|
||||
export type LogisticPurchasePerSupplierReport = BaseMetadata & {
|
||||
data: SupplierWithItems[];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user