nikhil96widhani / AI_DjangoPOS

Repo for a Smart Django POS system with artificial Intelligence features
7 stars 5 forks source link

Features to add #3

Open nikhil96widhani opened 4 years ago

nikhil96widhani commented 4 years ago

1: add products from barcode scanner https://jsfiddle.net/pg0h9na6/2/

https://github.com/the-letter-e-production/jquery-pos

https://github.com/spape/barcode-scanner.js

https://github.com/axenox/onscan.js

nikhil96widhani commented 4 years ago
  1. Add send invoice to WhatsApp button
nikhil96widhani commented 4 years ago

Build app

https://youtu.be/OVY4ifYy3UI

https://pypi.org/project/django-eel/

https://www.pyinstaller.org/

https://youtu.be/jE-SpRI3K5g

https://thinkami.hatenablog.com/entry/2019/04/21/184812

pyinstaller --name=AI_POS AI_DjangoPos/gui.py --onefile

https://stackoverflow.com/questions/48063990/how-to-automate-django-app-exe-created-by-using-pyinstaller-and-innosetup/50331310

https://stackoverflow.com/questions/50912925/deploying-a-server-less-django-app/50914935

https://youtu.be/vJAfq6Ku4cI

nikhil96widhani commented 3 years ago

https://meet.google.com/out-tdvy-uho

meet link

nikhil96widhani commented 3 years ago

Printing- https://optionkey.blogspot.com/2020/03/setting-up-kiosk-printing-mode-for-vend.html

https://www.shoptill-e.com/support/74

nikhil96widhani commented 3 years ago

https://jsfiddle.net/2bqv785r/2/ Interesting table editor cell

nikhil96widhani commented 3 years ago

Docker production

https://youtu.be/9cLBvi15sGI

nikhil96widhani commented 2 years ago

barcode 👍

        var barcode = '';
        var interval;
        document.addEventListener('keydown', function(evt) {
            if (interval)
                clearInterval(interval);
            if (evt.code == 'Enter') {
                if (barcode)
                    handleBarcode(barcode);
                barcode = '';
                return;
            }
            if (evt.key != 'Shift')
                barcode += evt.key;
            interval = setInterval(() => barcode = '', 20);
        });

        function handleBarcode(scanned_barcode) {
            document.querySelector('#last-barcode').innerHTML = scanned_barcode;
        }