feature-comercial-module-ts #11

Merged
edgar.mendez merged 8 commits from feature-comercial-module-ts into qa 2026-02-27 19:37:24 +00:00
3 changed files with 6 additions and 10 deletions
Showing only changes of commit 3cb7264b0a - Show all commits

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

View File

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