Bug 18722: Fund name is not shown in received orders fund subtotals
authorJosef Moravec <josef.moravec@gmail.com>
Mon, 5 Jun 2017 11:20:18 +0000 (11:20 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 9 Jun 2017 14:32:48 +0000 (11:32 -0300)
Test plan:
1) Go to acquisition and receive some orders
2) Show the receive summary for invoice
--> without patch, the fund name in subtotal is not shown
--> with patch the name is shown as expected

Signed-off-by: Michael Cabus <michael@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt

index ce4e52f..a894cf4 100644 (file)
                 [% ELSE %]
                     <td colspan="6" class="total">(Tax exc.)</td>
                 [% END %]
-                <td colspan="2"><i>Subtotal for</i> [% funds.$key.budget_name %]</td>
+                <td colspan="2"><i>Subtotal for</i> [% key %]</td>
                 <td>[% subtotal_for_funds.$key.ecost | $Price %]</td>
                 <td>[% subtotal_for_funds.$key.unitprice | $Price  %]</td>
                 <td>&nbsp;</td>