update sale and customer
This commit is contained in:
@@ -92,6 +92,16 @@ class Transactions::SalesController < ApplicationController
|
||||
end
|
||||
end
|
||||
|
||||
def void
|
||||
@sale = params[:sale_id]
|
||||
@reason = Lookup.where("lookup_type = 'void_reason'")
|
||||
end
|
||||
|
||||
def manual_void_sale
|
||||
sale_id = params[:sale_id]
|
||||
|
||||
end
|
||||
|
||||
private
|
||||
# Use callbacks to share common setup or constraints between actions.
|
||||
def set_transactions_sale
|
||||
|
||||
Reference in New Issue
Block a user