sale receipt generation and bill api

This commit is contained in:
Min Zeya Phyo
2017-04-17 13:09:54 +06:30
parent 3e9a2a0ce7
commit 6a84a34a9f
15 changed files with 177 additions and 71 deletions

View File

@@ -8,6 +8,7 @@ class CreateMenuItems < ActiveRecord::Migration[5.0]
t.references :menu_category, foreign_key: true
t.references :menu_item, foreign_key: true
t.integer :min_qty, :null => false, :default => 1
t.boolean :taxable, :null => false, :default => true
t.integer :min_selectable_item, :null => false, :default => 1
t.integer :max_selectable_item, :null => false, :default => 1
t.string :created_by