venue_management/app/helpers/admin/venue_management_bills_help...

9 lines
239 B
Ruby

module Admin::VenueManagementBillsHelper
def self.thead(field)
if field.include?(".")
return ("<th>"+I18n.t(field)+"</th>").html_safe
else
return ("<th>"+I18n.t("vm_bill.#{field}")+"</th>").html_safe
end
end
end