shift
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
class Origami::ShiftsController < ApplicationController
|
||||
class Origami::ShiftsController < BaseOrigamiController
|
||||
|
||||
def index
|
||||
end
|
||||
|
||||
@@ -6,6 +7,13 @@ class Origami::ShiftsController < ApplicationController
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user