Breaking: Discount is applicable on sale category and not on menu category

Fix the import, etc on this.
While entering discount in sale, it checks the max allowed.
This commit is contained in:
2020-12-16 11:49:22 +05:30
parent e229ecefa2
commit e4500f0d46
48 changed files with 353 additions and 277 deletions

View File

@ -8,6 +8,9 @@ RUN npm install --unsafe-perm --legacy-peer-deps && /app/bookie/node_modules/.bi
FROM python:latest
LABEL maintainer="Amritanshu <docker@tanshu.com>"
COPY --from=builder /app/barker /app
COPY --from=builder /app/frontend /app/frontend
RUN apt-get update && \
apt-get install -y locales && \
sed --in-place --expression='s/# en_IN UTF-8/en_IN UTF-8/' /etc/locale.gen && \
@ -16,8 +19,6 @@ RUN apt-get update && \
ENV LANG en_IN
ENV LC_ALL en_IN
COPY --from=builder /app/barker /app
COPY --from=builder /app/frontend /app/frontend
WORKDIR /app
# Install Poetry