Fix text class

This commit is contained in:
Paul van Tilburg 2015-06-20 18:25:24 +02:00
parent 67d0b60a9f
commit 96435e3d86
1 changed files with 1 additions and 1 deletions

View File

@ -1820,7 +1820,7 @@ module StopTime::Views
div.col_md_6 do
inv_klass = "text_info"
inv_klass = "text_warning" if customer.invoices.any? { |inv| inv.past_due? }
inv_klass = "text_error" if customer.invoices.any? { |inv| inv.way_past_due? }
inv_klass = "text_danger" if customer.invoices.any? { |inv| inv.way_past_due? }
h3 { a customer.name,
:class => inv_klass,
:href => R(CustomersN, customer.id) }