update order queue , sale void

This commit is contained in:
Aung Myo
2017-06-15 16:24:00 +06:30
parent f83d11e379
commit f0d3f30d88
8 changed files with 50 additions and 40 deletions

View File

@@ -6,7 +6,7 @@ class SaleAudit < ApplicationRecord
belongs_to :sale
def record_audit_void(sale_id, void_by, approved_by, reason)
def self.record_audit_void(sale_id, void_by, approved_by, reason)
#sale_audit
sale_audit = SaleAudit.new()
sale_audit.sale_id = sale_id