Files
sx-fc/app/controllers/origami/shifts_controller.rb
2017-06-28 15:29:44 +06:30

22 lines
325 B
Ruby

class Origami::ShiftsController < BaseOrigamiController
def index
end
def show
end
def new
@float = Lookup.where('lookup_type=?','float')
end
def create
opening_balance = params[:opening_balance]
@shift = ShiftSale.new
@shift.create(opening_balance,current_user)
end
def edit
end
end