From 64ebdd7d40a23f41fe8f92a2dbdcb707a332f2fe Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Wed, 12 May 2021 14:25:30 -0700 Subject: [PATCH] IO-1088 remove pagination on bill enter --- _reference/JSReportSetup.md | 13 +++++++++++-- .../bill-form/bill-form.lines.component.jsx | 1 + 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/_reference/JSReportSetup.md b/_reference/JSReportSetup.md index 66c0f542c..a5ca4e640 100644 --- a/_reference/JSReportSetup.md +++ b/_reference/JSReportSetup.md @@ -1,6 +1,9 @@ # install node.js + wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash + # you may need to reopen terminal + nvm install 8.11.3 mkdir jsreportapp @@ -10,6 +13,7 @@ jsreport init jsreport configure # chrome dependencies + sudo apt-get install -y libgconf-2-4 sudo wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' @@ -17,24 +21,29 @@ sudo apt-get update sudo apt-get install -y google-chrome-unstable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst --no-install-recommends # on ubuntu 20 run also + sudo apt-get install -y libxtst6 libxss1 # start jsreport to see it running on port 5488 + jsreport start # the next steps are optional to start jsreport on boot + npm install pm2 -g pm2 start server.js pm2 startup + # run the output of previous command # optionally if you want to use older phantomjs for pdf rendering + sudo apt-get install -y --no-install-recommends gnupg git curl wget ca-certificates sudo apt-get install -y --no-install-recommends xfonts-base xfonts-75dpi npm i jsreport-phantom-pdf --save --save-exact Running on port 80 and 443 without SU -$ setcap 'cap_net_bind_service=+ep' /path/to/.nvm/v0.10.17/bin/node +$ setcap 'cap_net_bind_service=+ep' /usr/bin/node $ apt-get remove nginx $ cd /path/to/app -$ PORT=80 node app \ No newline at end of file +$ PORT=80 node app diff --git a/client/src/components/bill-form/bill-form.lines.component.jsx b/client/src/components/bill-form/bill-form.lines.component.jsx index 7006ad0d2..82d9b6931 100644 --- a/client/src/components/bill-form/bill-form.lines.component.jsx +++ b/client/src/components/bill-form/bill-form.lines.component.jsx @@ -444,6 +444,7 @@ export function BillEnterModalLinesComponent({ dataSource={fields} columns={mergedColumns(remove)} scroll={{ x: true }} + pagination={false} rowClassName="editable-row" />