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:
tanshu committed 2020-12-16 11:49:22 +05:30
1 parent e229ecefa2
commit e4500f0d46
48 files changed
+353 -277

No files matched your search

+3 -2
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