%tr
  %th{:colspan => "2"}
    %h3= t(group, :scope => 'bookyt')
  -for @date in @dates
    %th{:style => "text-align: right"}
      %h3= currency_fmt(Account.by_type(group).saldo(@date))

= render :partial => 'account', :collection => Account.by_type(group).all.select{|a| a.bookings.by_value_period(@dates.first, @dates.last).exists?}

%tr
  %th{:colspan => "2"}
    %h3= t(group, :scope => 'bookyt')
  -for @date in @dates
    %th{:style => "text-align: right"}
      %h3= currency_fmt(Account.by_type(group).saldo(@date))

= render :partial => 'account', :collection => Account.by_type(group)

Fix bail in profit sheet.
Fix bail in profit sheet.
