update authorize void and edit in cashier

This commit is contained in:
Aung Myo
2017-06-29 15:39:46 +06:30
parent f60c145c00
commit 9305e0c4b4
5 changed files with 18 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
class Origami::SaleEditController < BaseOrigamiController
authorize_resource :class => false
# Index for sale item void OR edit
def edit
sale_id = params[:sale_id]