Skip to content

Commit

Permalink
#reports#fixed spelling mistake on car filtering, waiting for Arnt to…
Browse files Browse the repository at this point in the history
… validate
  • Loading branch information
marwen blel committed Nov 7, 2011
1 parent 890efae commit 07431f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/journal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def self.report_ledger_balance(periods_to_balance, periods_to_balance_previous,
sql += " and journal_operations.project_id = #{project.id}"
end
unless car.blank?
sql += " and journal_perations.car_id = #{car.id}"
sql += " and journal_operations.car_id = #{car.id}"
end
sql +=" group by accounts.id "
end
Expand All @@ -271,7 +271,7 @@ def self.report_ledger_balance(periods_to_balance, periods_to_balance_previous,
sql += " and journal_operations.project_id = #{project.id}"
end
unless car.blank?
sql += " and journal_perations.car_id = #{car.id}"
sql += " and journal_operations.car_id = #{car.id}"
end
sql +=" group by accounts.id "
end
Expand Down

0 comments on commit 07431f2

Please sign in to comment.