feat: add new form field components for company details and consumer management
- Implemented CompanyNameComponent, DescriptionComponent, DeviceIdComponent, EconomicCodeComponent, EmailComponent, FirstNameComponent, FiscalCodeComponent, GuildIdComponent, LastNameComponent, LegalNameComponent, LicenseStartsAtComponent, MobileComponent, MobileNumberComponent, ModelComponent, NameComponent, NationalCodeComponent, NationalIdComponent, PartnerTokenComponent, PosTypeComponent, PostalCodeComponent, ProviderIdComponent, QuantityComponent, RegistrationCodeComponent, RegistrationNumberComponent, SerialNumberComponent, SetOffComponent, SkuComponent, TerminalComponent, UnitPriceComponent, UsernameComponent. - Added field control configurations for new fields in the form. - Updated routing and branding configurations for TIS tenant. - Created consumer type models for handling individual and legal consumer data.
This commit is contained in:
+12
-3
@@ -1,6 +1,9 @@
|
||||
# Build stage
|
||||
FROM node:20 AS builder
|
||||
|
||||
ARG TENANT=tis
|
||||
ARG DIST_DIR=tis
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# RUN npm config set registry "https://hub.megan.ir/npm/"
|
||||
@@ -11,14 +14,20 @@ RUN pnpm install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN pnpm run build
|
||||
RUN if [ "$TENANT" = "default" ]; then \
|
||||
pnpm run build; \
|
||||
else \
|
||||
pnpm run build:$TENANT; \
|
||||
fi
|
||||
|
||||
FROM nginx:alpine
|
||||
|
||||
ARG DIST_DIR=tis
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
|
||||
COPY --from=builder /app/dist/pos.client/browser /usr/share/nginx/html
|
||||
COPY --from=builder /app/dist/${DIST_DIR}/browser /usr/share/nginx/html
|
||||
|
||||
EXPOSE 4001
|
||||
EXPOSE 5000
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
||||
Reference in New Issue
Block a user