feat: enhance sale invoices filtering with additional fields and refactor findAll method

This commit is contained in:
2026-05-16 16:12:19 +03:30
parent 5baf5bfea6
commit ba3c544ff8
5 changed files with 228 additions and 16 deletions
+5 -2
View File
@@ -5,6 +5,7 @@ ARG NPM_REGISTRY=https://registry.npmjs.org/
ENV NPM_CONFIG_REGISTRY=${NPM_REGISTRY}
ENV npm_config_registry=${NPM_REGISTRY}
ENV PNPM_HOME="/pnpm"
ENV PNPM_STORE_DIR="/pnpm/store"
ENV PATH="${PNPM_HOME}:${PATH}"
ENV COREPACK_NPM_REGISTRY=${NPM_REGISTRY}
ARG PNPM_VERSION=10.17.1
@@ -15,7 +16,8 @@ RUN npm config set registry ${NPM_REGISTRY} \
FROM base AS build
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store \
pnpm install --frozen-lockfile
COPY . .
ENV PRISMA_CLIENT_ENGINE_TYPE=binary
@@ -24,7 +26,8 @@ RUN pnpm run build
FROM base AS prod-deps
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --prod --frozen-lockfile \
RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store \
pnpm install --prod --frozen-lockfile \
&& pnpm store prune \
&& rm -rf /root/.npm /root/.cache