From f8f3da1bdd258dd98d961f8946c58f6cdc1216ea Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Sat, 20 Jun 2015 18:35:43 +0200 Subject: [PATCH] Use two columns when showing invoices in the invoices view --- stoptime.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stoptime.rb b/stoptime.rb index d407abc..a3ed642 100644 --- a/stoptime.rb +++ b/stoptime.rb @@ -2376,8 +2376,8 @@ module StopTime::Views end else div.row do - div.col_md_6 do - @invoices.keys.sort.each do |customer| + @invoices.keys.sort.each do |customer| + div.col_md_6 do next if @invoices[customer].empty? h2 do text! customer.name