Add additional eager loading annotations
This commit is contained in:
parent
39aff78f11
commit
1550eedb5a
6 changed files with 9 additions and 9 deletions
|
|
@ -1,7 +1,7 @@
|
|||
- title t('.title')
|
||||
|
||||
- for supplier in @suppliers
|
||||
- invoices = supplier.invoices.unpaid
|
||||
- invoices = supplier.invoices
|
||||
- if invoices.any?
|
||||
%h3= supplier.name
|
||||
- invoices_sum = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue