update view

This commit is contained in:
Aung Myo
2017-07-28 11:30:35 +06:30
parent 63cda9a076
commit 24fd399c17
4 changed files with 32 additions and 22 deletions

View File

@@ -3,6 +3,7 @@ class Transactions::ManualSalesController < ApplicationController
def void
@sale = params[:sale_id]
@reason = Lookup.where("lookup_type = 'void_reason'")
respond_to do |format|
format.html # index.html.erb
format.json { render json: @sales }