summaryrefslogtreecommitdiff
path: root/src-migrate/types
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-10-21 16:16:34 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-10-21 16:16:34 +0700
commit3a0f3c6ed7ef886d3205d51937b1ecbb035b1a87 (patch)
treeded50fbc40919b389088e1e983637b85fa1eb04e /src-migrate/types
parentc61477111b95d83a9b862f242923b911364f3612 (diff)
<iman> update and fix section dokumen
Diffstat (limited to 'src-migrate/types')
-rw-r--r--src-migrate/types/tempo.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/src-migrate/types/tempo.ts b/src-migrate/types/tempo.ts
index b40ef8d7..17c4c906 100644
--- a/src-migrate/types/tempo.ts
+++ b/src-migrate/types/tempo.ts
@@ -2,6 +2,7 @@ import {
TempoSchema,
TempoSchemaKontakPerson,
TempoSchemaPengiriman,
+ TempoSchemaSupplier,
} from '~/validations/tempo';
import { OdooApiRes } from './odoo';
import { z } from 'zod';
@@ -60,12 +61,20 @@ export type tempoPropsPengiriman = {
dokumenPengirimanInvoice: string;
dokumenPengirimanInvoiceInput: string;
};
+export type tempoPropsSupplier = {
+ supplier: string;
+ pic: string;
+ telepon: string;
+ durasiTempo: string;
+ creditLimit: string;
+};
export type TempoApiProps = OdooApiRes<TempoProps>;
export type TempoProps = z.infer<typeof TempoSchema>;
export type TempoPropsKontakPerson = z.infer<typeof TempoSchemaKontakPerson>;
export type TempoPropsPengiriman = z.infer<typeof TempoSchemaPengiriman>;
+export type TempoPropsSupplier = z.infer<typeof TempoSchemaSupplier>;
export type TempoResApiProps = {
Tempo: boolean;