Update for the line items on invoice
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 20 Dec 2017 21:57:46 +0000 (16:57 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 20 Dec 2017 21:57:46 +0000 (16:57 -0500)
Need the tr tag inside the foreach loop

views/admin/billing/invoiceStore.html

index d8c6db8..4c79a2a 100644 (file)
                             </tr>
                         </thead>
                         <tbody>
-                            <tr>
-                                {foreach $line_items as $item}
-                                <td align="right" width="80">{$invoice.transaction_time|date_format:"%D"}</td>
-                                <td align="center">{$item.name}</td>
-                                <td align="right" width="10">{$item.quantity}</td>
-                                <td align="right" width="60">{$item.amount}</td>
-                                {/foreach}
-                            </tr>
+                            {foreach $line_items as $item}
+                                <tr>
+                                    <td align="right" width="80">{$invoice.transaction_time|date_format:"%D"}</td>
+                                    <td align="center">{$item.name}</td>
+                                    <td align="right" width="10">{$item.quantity}</td>
+                                    <td align="right" width="60">{$item.amount}</td>
+                                </tr>
+                            {/foreach}
                         </tbody>
                     </table>
                 </td>