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
|
||||
args:
|
||||
VITE_API_URL: ${VITE_API_URL}
|
||||
container_name: controls-front-prod
|
||||
container_name: front-controls
|
||||
ports:
|
||||
- "${APP_PORT}:80"
|
||||
networks:
|
||||
- controls-network
|
||||
restart: unless-stopped
|
||||
mem_limit: 512mb
|
||||
|
||||
networks:
|
||||
controls-network:
|
||||
|
||||
@ -31,6 +31,8 @@ export interface Supplier {
|
||||
type: SupplierType;
|
||||
credit_limit: string;
|
||||
payment_days: number;
|
||||
contact_email?: string;
|
||||
phone_number?: string;
|
||||
addresses?: SupplierAddress[];
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
@ -83,6 +85,8 @@ export interface SupplierCreateRequest {
|
||||
type: SupplierType;
|
||||
credit_limit: number;
|
||||
payment_days: number;
|
||||
contact_email?: string;
|
||||
phone_number?: string;
|
||||
addresses: SupplierAddress[];
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user