feat: update supplier interface to include contact email and phone number

This commit is contained in:
Edgar Méndez Mendoza 2026-02-24 16:03:10 -06:00
parent 2f3a4d7da4
commit 3cb7264b0a
3 changed files with 6 additions and 10 deletions

View File

@ -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

View File

@ -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:

View File

@ -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[];
}