150 lines
2.6 KiB
Markdown
Executable File
150 lines
2.6 KiB
Markdown
Executable File
# README
|
|
|
|
SXRestuarant is a new Dedicate project for SmartSales Restaurant. It is improvement from v1.2 with upgrade to latest Bootstrap and Rails 5.2. The API is better define and route are refactor.
|
|
|
|
Things you may want to cover:
|
|
|
|
* Ruby version
|
|
ruby 2.4.1p111
|
|
|
|
* Membership Details
|
|
|
|
Osaka
|
|
|
|
Auth Token => rj0MJ0XI5GsKZehE => New
|
|
|
|
=> code2lab => Old
|
|
|
|
Merchant account => RxzaYyAGzm7VqAZ4hKnv
|
|
|
|
Campaign Id => {"campaign_type_id": 5}
|
|
|
|
|
|
|
|
BITP
|
|
|
|
Auth Token => rj0MJ0XI5GsKZehE => New
|
|
|
|
=> code2lab => Old
|
|
|
|
Merchant account => vWSsseoZCzxd6xcNf_uS
|
|
|
|
Campaign Id => {"campaign_type_id": 1}
|
|
|
|
java -jar ~/Documents/Jade.jar http://192.168.1.88:3002
|
|
|
|
Person and Extra Time
|
|
category_code = SPL... //for menu categories
|
|
|
|
Extra Time
|
|
instance_code = Extim30, Extim60 //for morning menu
|
|
instance_code = Extie30, Extie60 //for evening menu
|
|
|
|
Order Item & Order Summary Slim
|
|
*** change OrderItemPdf to OrderItemSlimPdf and OrderSummaryPdf to OrderSummarySlimPdf
|
|
1) settings/print_settings
|
|
2) app/controllers/oqs/edit_controller.rb
|
|
3) app/controllers/oqs/print_controller.rb
|
|
4) app/models/order_queue_station.rb
|
|
5) app/models/printer/order_queue_printer.rb
|
|
6) app/models/printer/receipt_printer.rb
|
|
|
|
* ToDo list
|
|
|
|
1. Cloud Sync
|
|
2. Action Cable
|
|
3. Shop Setup
|
|
4. Payment Integation
|
|
|
|
* System dependencies
|
|
|
|
* Configuration
|
|
|
|
* Database creation
|
|
|
|
* Database initialization
|
|
|
|
* How to run the test suite
|
|
|
|
* Services (job queues, cache servers, search engines, etc.)
|
|
|
|
* Deployment instructions
|
|
|
|
|
|
* Features
|
|
|
|
1. OQS
|
|
|
|
1. Filter
|
|
2. Order Item to each Stations
|
|
3. Edit Order Item
|
|
|
|
2. Origami(Sale)
|
|
|
|
1. Sale
|
|
2. Add Customer for membership
|
|
3. Discount and Member Discount for Sale
|
|
4. Assign Commissioner
|
|
5. Add other charges to Sale
|
|
|
|
3. CRM
|
|
|
|
1. Customer Management
|
|
|
|
2. Queue Management
|
|
|
|
4. Backend
|
|
|
|
1. Dining Setup
|
|
|
|
2. Queue Station Setup
|
|
|
|
3. Menu Setup
|
|
|
|
4. Cashier Terminal Setup
|
|
|
|
5. Tax Profile Setup
|
|
|
|
6. Printer Setup
|
|
|
|
7. Payment Integration
|
|
|
|
8. Employee Management
|
|
|
|
9. Promotion Setup
|
|
|
|
10. Commissioner Setup
|
|
|
|
11. Membership Integration
|
|
|
|
|
|
5. Inventory
|
|
|
|
|
|
6. Report
|
|
|
|
|
|
* UI Standard
|
|
|
|
1. Layout
|
|
|
|
1. 2-Column => Main Content - col-9, Information - col-3
|
|
2. 3-Column => Sub Lint - col-2, Main Content - col-7, Information - col-3
|
|
|
|
> Pixel
|
|
|
|
Main Header Bar - height => 50 px
|
|
Side Navigation - Weight => 230 px
|
|
Main Content Padding => 15 px
|
|
|
|
2. Color
|
|
|
|
> BUTTON
|
|
|
|
1. Submit/Add/Edit/Confirm buttons => btn-primary (theme color)
|
|
2. Show/Detail Buttons => btn-info
|
|
3. Delete => btn-delete
|
|
4. Cancel/Back => btn-default
|
|
|
|
|