Module: OrdersHelper

Defined in:
app/helpers/orders_helper.rb

Instance Method Summary collapse

Instance Method Details

#mail_actionsObject



3
4
5
6
7
# File 'app/helpers/orders_helper.rb', line 3

def mail_actions
  conf = OfficeClerk.config(:mail_buttons)
  return "" if conf.blank?
  conf.split(" ").collect{|s| s.strip }
end

#mail_path(action) ⇒ Object



8
9
10
# File 'app/helpers/orders_helper.rb', line 8

def mail_path action
  
end

#number_with_comma(n) ⇒ Object



11
12
13
# File 'app/helpers/orders_helper.rb', line 11

def number_with_comma n
  number_with_precision(n , :precision => 2 , :separator => "," , :strip_insignificant_zeros => false)
end