Giter Club home page Giter Club logo

Comments (14)

Epse avatar Epse commented on May 27, 2024

from eppos.

Epse avatar Epse commented on May 27, 2024

Is this in the admin interface, or after completing an order?

from eppos.

dnk8n avatar dnk8n commented on May 27, 2024

Oh sorry, this is after completing an order. Printing directly from after tapping cash or card payment menu button.

from eppos.

Epse avatar Epse commented on May 27, 2024

from eppos.

Epse avatar Epse commented on May 27, 2024

Yeah I can confirm this... weird

from eppos.

Epse avatar Epse commented on May 27, 2024

This bug never happens when I connect the devtools to my phone to inspect what happens...

from eppos.

Epse avatar Epse commented on May 27, 2024

This appears to be a speed and javascript JIT bug, according to code the following should happen:

  1. An alert is shown to ask if you want to print the ticket
  2. Depending on the response, the ticket is shown in a new tab or not
  3. The page sends a request to the server, indicating payment
  4. The current order is cleared by the server

Apparently Chrome on mobile, after clicking 'yes', first sends the request asking to clear the order before loading the new tab. This should probably be changed

from eppos.

dnk8n avatar dnk8n commented on May 27, 2024

Very glad that this bug was at least reproducible to more than just my phone!

If I can do anything to help, please ask and I will jump in as soon as I can.

from eppos.

Epse avatar Epse commented on May 27, 2024

No worries, it's just a symptom of some not-so-great design decisions on the back end.
The new frontend should basically fix that, if you want to try it (probably best not to do this in the store), you can download the development version here.

from eppos.

dnk8n avatar dnk8n commented on May 27, 2024

I am guessing to upgrade to this version I,

git checkout 79-better-frontend
docker-compose up -d --build

from eppos.

dnk8n avatar dnk8n commented on May 27, 2024

I worked out I needed to docker volume rm eppos_static and then docker-compose up -d in order to get the front-end looking as intended.

from eppos.

dnk8n avatar dnk8n commented on May 27, 2024

Can confirm that the invoice now displays on my mobile phone!

from eppos.

dnk8n avatar dnk8n commented on May 27, 2024

Out of curiosity. Do invoices normally show the amount received, etc? Just noticed the feature that calculates change too.

from eppos.

Epse avatar Epse commented on May 27, 2024

from eppos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.