second display tax profile
This commit is contained in:
@@ -1453,7 +1453,7 @@ $(function() {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: url,
|
||||
data: {"data":data,"status":status},
|
||||
data: {"data":data,"status":status,"type":$("#link_type").val()},
|
||||
dataType: "json",
|
||||
success:function(result){
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ class Origami::SecondDisplayController < BaseOrigamiController
|
||||
display_type = Lookup.find_by_lookup_type("display_type")
|
||||
if !display_type.nil? && display_type.value.to_i == 2
|
||||
if params[:status]!= "billed"
|
||||
tax_profiles = TaxProfile.all.order("order_by asc")
|
||||
tax_profiles = TaxProfile.where(group_type: params[:type]).order("order_by asc")
|
||||
else
|
||||
tax_profiles = nil
|
||||
end
|
||||
@@ -27,7 +27,7 @@ class Origami::SecondDisplayController < BaseOrigamiController
|
||||
#Shop Name in Navbor
|
||||
# helper_method :shop_detail
|
||||
# def shop_detail
|
||||
#
|
||||
#
|
||||
# end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user