T2Ti Pegasus POS Project Repository

  POS

T2Ti Pegasus POS

This repository holds the code for the T2Ti Pegasus POS system. In the Lite version it is possible to issue Receipt (developed for MEI) and in the fiscal version it is possible to issue fiscal documents: NFC-e, SAT and MFE (SAT and MFE under development).


T2Ti Pegasus POS Course

To understand how to implement Pegasus POS with receipt issuance for MEI and issuance of tax documents (NFC-e, SAT and MFE), take the T2Ti Pegasus POS Course available at the following link http://t2ti.com/curso/video /pegasus-pdv-5000/ . Pegasus POS is already in production in beta phase. You can download the fonts and change them as you wish, and you can also follow the progress of the project on the Public Trello Board created for this purpose.

Click on the image above to access the Pegasus POS Course page which contains 153 hours of video lessons. After taking this course you will be able to build your own POS with receipt issuance, NFC-e, SAT or MFE. Furthermore, you will fully understand how to use the source code available here. 


Project Features

See below for a list of project features. There is probably something that you, the developer, are looking for for your project and will take advantage of it from here. It is also possible that you already start your business with this application. We wish you all the best and much success!

  • Flutter: The T2Ti Pegasus POS is developed in Flutter and, therefore, it will be able to run on several platforms: Windows, Linux, MacOS, Android, iOS and for the Web. In this Beta phase we are doing tests on Windows and Android. With the launch of the project on github we know that we will have tests carried out by developers on other platforms. Soon, T2Ti will also start tests on other platforms. To compile the project use Flutter version 2.2.2.
  • SQLite: The Lite version of T2Ti Pegasus POS is single user and works with local database. The database chosen for this purpose was SQLite. The Premium version will work with SQLite as the local database, but will have the back-end database synchronization feature.
  • Moor: To facilitate the use of the SQLite database we use ORM Moor
  • Barcode Scanner: Package used to scan the barcode of products using the cell phone camera.
  • Flutter Bootstrap: Package used to facilitate the creation of responsive screens.
  • Priting: Package used to create amazing reports with Widgets with option to print and share PDF file.
  • Flutter Masked Text: Package used to create input widget with developer-defined masks.
  • CPF/CNPJ Validator: Package used to validate CPF and CNPJ.
  • Bottom Reveal: Pack used to reveal the bottom of the screen in an animated way.
  • Flutter Sparkline: Package used to generate a simple sales graph on the Dashboard screen.
  • Awesome Dialog: Package used to generate well-presentable and tasteful styled dialogs.
  • Image Picker: Pack used to pick up images on the device. Used when changing the logo of the company that uses the application.
  • Catcher: Package used to capture application errors and exceptions and send them to Sentry for proper treatment.
  • Sentry: Package used to send errors and exceptions captured by Catcher to Sentry for proper handling.
  • Desktop Window: Package used to manipulate some application items when running in Desktop environment.
  • Flutter Dotenv: Package used to read data from ‘.env’ file. In this file we leave some sesible data that doesn’t go up to the repository.
  • Encrypt: Package used to encrypt and decrypt the data in the ‘.env’ file.
  • URL Launcher: Package used to load a URL in the browser. We use it to send the user to a Youtube playlist with the application’s help videos. Also used for the user to contact SH via email.
  • Email Validator: Package used to validate emails.

How it works – How to start it

You can clone the repository or download the zipped file, according to your preference.

Create a new project with the command ‘flutter create pegasus_pdv’. We created the application in the Beta channel because of Desktop support. You can use the Beta channel or the Dev channel. To change channels use the command ‘flutter channel beta’ and then the command ‘flutter upgrade’.

After creating the project, copy the ‘lib’ and ‘assets’ folders into your project. Also copy the files ‘sqlite3.dll’ to the root of the project, so that you can use the application on Windows. Copy the ‘env.example’ file to the project root and rename it to ‘.env’.

Finally copy the ‘pubspec.yaml’ file replacing the existing file. After copying this file run the ‘flutter pub get’ command to update the packages.

Ready! It’s all right to use the application. Open the project in VS Code or Android Studio and run or run the application with the following command ‘flutter run -d windows’.


Watch the presentation video on Youtube.

screens

Dowload Pegasus POS Project source code on GitHub

https://github.com/alberteije/T2Ti-Pegasus-PDV