feat: update supplier interface to include contact email and phone number
This commit is contained in:
parent
2f3a4d7da4
commit
3cb7264b0a
@ -1,9 +0,0 @@
|
|||||||
# API Configuration (Production)
|
|
||||||
VITE_API_URL=https://api.golscontrol.com/api
|
|
||||||
|
|
||||||
# Environment
|
|
||||||
VITE_APP_ENV=production
|
|
||||||
|
|
||||||
# App Configuration
|
|
||||||
VITE_APP_NAME=GOLS Control
|
|
||||||
VITE_APP_VERSION=1.0.0
|
|
||||||
@ -5,12 +5,13 @@ services:
|
|||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
args:
|
args:
|
||||||
VITE_API_URL: ${VITE_API_URL}
|
VITE_API_URL: ${VITE_API_URL}
|
||||||
container_name: controls-front-prod
|
container_name: front-controls
|
||||||
ports:
|
ports:
|
||||||
- "${APP_PORT}:80"
|
- "${APP_PORT}:80"
|
||||||
networks:
|
networks:
|
||||||
- controls-network
|
- controls-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
mem_limit: 512mb
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
controls-network:
|
controls-network:
|
||||||
|
|||||||
@ -31,6 +31,8 @@ export interface Supplier {
|
|||||||
type: SupplierType;
|
type: SupplierType;
|
||||||
credit_limit: string;
|
credit_limit: string;
|
||||||
payment_days: number;
|
payment_days: number;
|
||||||
|
contact_email?: string;
|
||||||
|
phone_number?: string;
|
||||||
addresses?: SupplierAddress[];
|
addresses?: SupplierAddress[];
|
||||||
created_at: string;
|
created_at: string;
|
||||||
updated_at: string;
|
updated_at: string;
|
||||||
@ -83,6 +85,8 @@ export interface SupplierCreateRequest {
|
|||||||
type: SupplierType;
|
type: SupplierType;
|
||||||
credit_limit: number;
|
credit_limit: number;
|
||||||
payment_days: number;
|
payment_days: number;
|
||||||
|
contact_email?: string;
|
||||||
|
phone_number?: string;
|
||||||
addresses: SupplierAddress[];
|
addresses: SupplierAddress[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user