2018-02-27 14:35:21 +06:30
2018-02-27 14:35:21 +06:30
2018-02-27 14:35:21 +06:30
2018-02-27 14:35:21 +06:30
2017-10-23 11:38:10 +06:30
2017-11-21 16:30:56 +06:30
2018-02-27 14:35:21 +06:30
2017-10-23 11:38:10 +06:30
2017-10-23 11:38:10 +06:30
2017-10-23 11:38:10 +06:30
2017-12-12 18:51:56 +06:30
2017-12-28 09:46:48 +06:30
2017-10-23 11:38:10 +06:30
2017-10-23 11:38:10 +06:30
2018-01-12 15:07:11 +06:30
2018-02-13 13:48:25 +06:30
2017-10-23 11:38:10 +06:30
2018-02-27 14:35:21 +06:30
2017-10-23 11:38:10 +06:30

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        => wu8YvlLmah0CL => New 	##note : Old => rj0MJ0XI5GsKZehE
    
      				  => code2lab => Old
    
      Merchant account  => RxzaYyAGzm7VqAZ4hKnv
    
      Campaign Id       => {"campaign_type_id": 5}
    

    BITP

      Auth Token        => pZBHXEFbGNj/G => New   ##note : Old => rj0MJ0XI5GsKZehE
    
      				  => 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 special

  1. must create Person in settings/accounts
  2. must create Adult and Child in settings/item_attributes
  3. must be PSA_[a-z/0-9] for Adult and PSC_[a-z/0-9] for Child in settings/menu_categories/[cat_id]/simple_menu_items
  4. must be PSAI_[a-z/0-9] for Adult and PSCI_[a-z/0-9] for Child in settings/simple_menu_items/[item_id]/menu_item_instances

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) settings/lookups => { type:print_settings, name:OrderSlimPdf, value:1 } * no need to change these files { app/controllers/oqs/edit_controller.rb app/controllers/oqs/print_controller.rb app/models/order_queue_station.rb app/models/printer/order_queue_printer.rb app/models/printer/receipt_printer.rb }

For ReceiptBillA5Pdf *** change ReceiptBillPdf to ReceiptBillA5Pdf 1) settings/print_settings , width:680, height:1450 2) settings/lookups => { type:print_settings, name:ReceiptBillA5Pdf, value:1 }

For ReceiptBillAltName options 1) settings/lookups => { type:print_settings, name:ReceiptBillAltName, value:1 }

For OrderSetPdf options *** change OrderItemPdf to OrderSetItemPdf and OrderSummaryPdf to OrderSummarySetPdf 1) settings/lookups => { type:print_settings, name:OrderSetPdf, value:1 }

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:00 AM - 12:00 PM, value: 120 }
  2. checkout alert time => { type: checkout_alert_time, name: 8:00 AM - 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 [12hr => 8:30 AM - 1:45 PM, 24hr => 8:00 - 13:45]
  • 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

Change type in mysql *run if you got font error for Myanmar, Chinese, etc... => ALTER TABLE [table_name] CONVERT TO CHARACTER SET utf8 COLLATE utf8_unicode_ci #for table => ALTER DATABASE [database_name] CHARACTER SET utf8 COLLATE utf8_unicode_ci #for database

For split bill 1) settings/lookups => { type:split_bill, name:SplitBill, value:1 }

###please open sudo cat /etc/sudoers

cope and parse

%superuser ALL=(ALL) NOPASSWD: ALL

<---- Extra Fields Script -----> DROP TABLE IF EXISTS display_images; CREATE TABLE display_images ( id bigint(20) NOT NULL AUTO_INCREMENT, shop_id int(11) DEFAULT NULL, image blob, created_by varchar(255) DEFAULT NULL, created_at datetime NOT NULL, updated_at datetime NOT NULL, PRIMARY KEY (id) ) ENGINE=InnoDB DEFAULT CHARSET=latin1;

ALTER TABLE customers ADD COLUMN image_path VARCHAR(255);

ALTER TABLE employees ADD COLUMN image_path VARCHAR(255);

ALTER TABLE commissioners ADD COLUMN image_path VARCHAR(255);

ALTER TABLE sales ADD COLUMN equal_persons INT(11) after rebate_status; <---- Extra Fields Script ----->

  • ToDo list
  1. Migration
  2. Quick Service
  3. Order & Reservation
  • 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
Description
SX Food Court app (Rails 5.1 / Ruby 2.6)
Readme 62 MiB
Languages
JavaScript 51.8%
HTML 22.2%
Ruby 18%
CSS 5.7%
SCSS 1.6%
Other 0.7%