Update the invoice template to remove possible hidden markup.
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 16 May 2018 19:31:43 +0000 (15:31 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 16 May 2018 19:31:43 +0000 (15:31 -0400)
Some of the markup may show up as html comments or show up different.
Removing the html comments and setting them as smarty comments.

views/admin/billing/invoiceStore.html

index 39d8684..c5b4af6 100644 (file)
@@ -16,7 +16,7 @@
     </tr>
     <tr>
         <td>
-            <!-- Billing Invoice Settings -->
+            {* Billing Invoice Settings *}
             <b>{$settings.company_name}</b></b><br>
         {if $settings.company_name2}{$settings.company_name2}<br>{/if}
         {if $settings.company_addr1}{$settings.company_addr1}<br>{/if}
@@ -56,7 +56,7 @@
             {if $account.billing_city}{$account.billing_city} {$account.billing_state}, {$account.billing_zip}<br>{/if}
             {if $account.billing_phone}{$account.billing_phone}<br>{/if}
 
-            <!-- Billing Settings -->
+            {* Billing Settings *}
         </td>
     </tr>
     <tr><td colspan="2">&nbsp;</td></tr>
@@ -70,7 +70,6 @@
                         <th>&nbsp;</th>
                         <th align="left">Description</th>
                         <th align="right">Rate</th>
-                        <!-- <th align="right">Amount</th> -->
                     </tr>
                     <tr>
                         <td colspan="5"><hr></td>
@@ -84,7 +83,6 @@
                         <td align="right" width="10">&nbsp;</td>
                         <td align="left" width="300">{$item.name}</td>
                         <td align="right" width="60">${$item.amount|string_format:"%.2f"}</td>
-                        <!-- <td align="right" width="60">${$item.total|string_format:"%.2f"}</td> -->
                     </tr>
                     {/foreach}
                     {foreach $payments as $payment}
@@ -93,7 +91,6 @@
                         <td align="left" width="20">{$payment.transaction_time|date_format:"%m/%d/%y"}</td>
                         <td align="right" width="10">&nbsp;</td>
                         <td align="left">Payment </td>
-                        <!-- <td align="right" width="60">&nbsp;</td> -->
                         <td align="right" width="60">- ${$payment.amount|string_format:"%.2f"}</td>
                     </tr>
                     {/foreach}