182 lines
3.8 KiB
Markdown
Executable File
182 lines
3.8 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
|
|
|
|
For Extra Time
|
|
item_instance_code
|
|
* must start with 'Ext'[a..z]'_'[1..100]
|
|
* note : don't add character after '_'
|
|
|
|
For 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
|
|
|
|
For Bank Integration setting
|
|
1) rake db:migrate for card_sale_trans, card_settle_trans
|
|
2) settings/lookups => { type:bank_integration, name: Bank Integration, value:1 }
|
|
|
|
For checkout time and checkout alert time
|
|
1) checkout time => { type: checkout_time, name: 9:00AM - 12:00 PM, value: 120 }
|
|
2) checkout alert time => { type: checkout_alert_time, name: 8:00AM - 12:00 PM, value: 60 }
|
|
* you can add multiple record for checkout time and checkout alert time
|
|
* type must be 'checkout_time' and 'checkout_alert_time'
|
|
* you can change name and value
|
|
* name must be time range [8:30 AM - 1:45 PM]
|
|
* value must be minutes[60]
|
|
|
|
For call waiter pdf
|
|
* Backend > Printer > Print Settings > New
|
|
i) Name : Calling Waiter
|
|
ii) Unique Code: CallWaiterPdf
|
|
iii)Template: ...
|
|
iv) Font: Zawgyi-One
|
|
v) Printer: #printer name
|
|
|
|
Membership Actions SQL
|
|
* update membership_actions set additional_parameter='{\"campaign_type_id\":5}' where id=10;
|
|
|
|
SQL Update after rake clear:data runned
|
|
* update seed_generators
|
|
i) TableBooking, Order, OrderItem, sale, SaleOrder, SaleItem, SaleTax, SalePayment, SaleAudit, AssignedOrderItem => { current:0, next:0 }
|
|
** Note :: do not update Customer
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|