Minor template refactor and cli.py user interface enhancement #6

Closed
subnixr wants to merge 15 commits from subnixr/macao-pos:cosettine into master

15 Commits (master)

Author SHA1 Message Date
subnixr 545017bf2c Clean little code 2017-03-26 20:53:23 +02:00
subnixr e4d36c1b7c Add floating point support in cli.py 2017-03-26 20:44:42 +02:00
crudo 2d3bda8328 Break the borders edition. 2017-03-25 21:47:42 +01:00
crudo 2ea448d039 Add Macao logo for printer. 2017-03-25 20:22:36 +01:00
crudo 1871221f04 Include UID in ticket. 2017-03-25 02:57:22 +01:00
crudo 389ad04e19 Implement transaction printing. 2017-03-25 02:38:02 +01:00
crudo 67ae28fcac Fix query bug that prevented events with undefined end date being used. 2017-03-24 23:03:13 +01:00
crudo 8c4540e82c Fix exception raising on 'event list' command when event has no transactions. 2017-03-24 21:08:32 +01:00
crudo 6c5e5568ea Database schema change. Implement ProductCategory.
* The user can now create product categories with the 'category add' command.
* The user can now add products to categories with the
  'product add --category INT' command.
2017-03-24 21:04:10 +01:00
crudo 9968cd2b8b Database schema change. Minor database refactoring. 2017-03-24 19:42:21 +01:00
crudo 5db877dc4c Minor cli.py refactoring. 2017-03-24 19:39:05 +01:00
crudo c07c19ca32 Database schema change and new UI feature. The user can now rearrange the products.
* Product has a new 'order' column.
* The user can now specify the sort order at product creation time with the
  'product add --sort INT' command.
* The user can now rearrange the products with the 'products set --sort INT'
  comand.
* The user can now show a sorted list of products in cli.py with the
  'product list --sort' command.
2017-03-24 19:23:37 +01:00
crudo 10bd8a1660 Fix typos in cli.py. 2017-03-24 18:56:06 +01:00
crudo e2badf6b53 Implement 'user set' command in cli.py. 2017-03-24 15:54:08 +01:00
crudo a29ec236f6 Implement new features for cly.py 'event' command.
* The user can now create a new event with a not defined end date.
* The user can now edit the name and the start and end date of a given event.
* The software can now check if the event the user is creating or editing
  is overlapping another event already present in the database.
* The software will allow the shortcut keywords 'now' and 'none' in the
  'event set --end' command.
2017-03-24 15:08:28 +01:00