Cash Register V2
From Convention Master Documentation
Some Notes on the cash register
- Conceptual How it works.
- Cashv2 Index landing Page
- The $result = @include_once('cashbox_assignment.inc.php'); function ensures a cashbox assigned if needed.
- On Page load, the main part of the cart is drawn via the cashv2.index.inc.php
- After Loading, and after every person is added, the loadAttendeeCards() function in cashv2_index.js is called
- After loading the attendee cards, we call refreshCart() function in cashv2_index.js
- The customer now starts to resolve strips.
- Each strip calls it's own API endpoint, use network on browser console to determine easily which endpoint your strip is submitting to to resolve.
- After each strip is handled, the jquery re-calls refreeshCart();
- Part of refreshCart() is enabling or disabling the Checkout Button
- Checkout Button moves to Finalize Sale V2
- Finalize Sale v2 Landing Page'
- The $result = @include_once('cashbox_assignment.inc.php'); function ensures a cashbox assigned if needed.
- On page load, the main part of the cart is drawn via the finalize_salev2.inc.php file.
- After Loading, and after every person is added, the loadAttendeeCards() function in finalize_salev2.js is called
- After loading the attendee cards, we call refreshCart() function in finalize_salev2.js To draw strips and such
- Loading attendee cards happens after each payment, but doesn't Always Happen.
- Printing is called, and printing progress is held in LocalStorage, so that the cards can draw printing information even after a LoadAttendeeCards()