don't reset subtotal on each li
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 5 May 2009 16:01:28 +0000 (16:01 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 5 May 2009 16:01:28 +0000 (16:01 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13078 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/950.data.seed-values.sql

index 4168ee7..cd868d9 100644 (file)
@@ -1805,9 +1805,9 @@ date <b>[% date.format(date.now, '%Y%m%d') %]</b>
   </thead>
   <tbody>
 
+  [% subtotal = 0 %]
   [% FOR li IN target.lineitems %]
 
-  [% subtotal = 0 %]
   <tr>
     [% count = li.lineitem_details.size %]
     [% price = PROCESS get_li_attr attr_name = 'estimated_price' %]