sale receipt generation and bill api
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
class CreateSales < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
create_table :sales do |t|
|
||||
t.integer :cashier_id, :null => false, :index => true
|
||||
t.string :cashier_name, :null => false
|
||||
t.integer :cashier_id, :index => true
|
||||
t.string :cashier_name
|
||||
t.string :requested_by, :null => false
|
||||
t.datetime :requested_at, :null => false
|
||||
t.string :receipt_no, :null => false
|
||||
|
||||
Reference in New Issue
Block a user