import sql-ledger 2.4.4
[freeside.git] / sql-ledger / templates / Default-packing_list.html
index 07ba8d6..130f454 100644 (file)
 <body bgcolor=ffffff>
 
 <table width=100%>
-<tr>
-  <td width=10>
-  </td> 
-  <td>
-  
-  <table width=100%>
   <tr>
+    <td width=10>&nbsp;</td> 
+    
     <td>
-      <h4>
-      <%company%>
-      <br><%address%>
-      </h4>
+      <table width=100%>
+       <tr>
+         <td>
+           <h4>
+           <%company%>
+           <br><%address%>
+           </h4>
+         </td>
+
+         <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58></th>
+
+         <td align=right>
+           <h4>
+           Tel: <%tel%>
+           <br>Fax: <%fax%>
+           </h4>
+         </td>
+       </tr>
+
+       <tr>
+         <th colspan=3>
+           <h4>P A C K I N G &nbsp;&nbsp; L I S T</h4>
+         </th>
+       </tr>
+      </table>
     </td>
-
-    <th colspan=2>
-      <h4 align=center>P A C K I N G &nbsp;&nbsp; L I S T</h4>
-    </th>
   </tr>
 
-  </table>
+  <tr>
+    <td>&nbsp;</td>
 
+    <td>
+      <table width=100% cellspacing=0 cellpadding=0>
+       <tr bgcolor=000000>
+         <th width=50% align=left><font color=ffffff>Ship To:</th>
+         <th width=50%>&nbsp;</th>
+       </tr>
+
+       <tr valign=top>
+         <td><%shiptoname%>
+         <br><%shiptoaddress1%>
+         <%if shiptoaddress2%>
+         <br><%shiptoaddress2%>
+         <%end shiptoaddress2%>
+         <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
+         <%if shiptocountry%>
+         <br><%shiptocountry%>
+         <%end shiptocountry%>
+         </td>
+       
+         <td>
+         <%if shiptocontact%>
+         <br>Attn: <%shiptocontact%>
+         <%end shiptocontact%>
+         
+         <%if shiptophone%>
+         <br>Tel: <%shiptophone%>
+         <%end shiptophone%>
+         
+         <%if shiptofax%>
+         <br>Fax: <%shiptofax%>
+         <%end shiptofax%>
+
+         <%shiptoemail%>
+         </td>
+       </tr>
+      </table>
+    </td>
+  </tr>
 
-  <table width=100% callspacing=0 cellpadding=0>
-    
-  <tr>
-    <td align=right>
-    <table>
-    <tr>
-      <th align=right>Date</th><td width=10> </td><td><%invdate%></td>
-    </tr>
+  <tr height=5></tr>
   
-    <tr>
-      <th align=right>Number</th><td></td><td><%invnumber%></td></tr>
-    </tr>
+  <tr>
+    <td>&nbsp;</td>
+
+    <td>
+      <table width=100% border=1>
+       <tr>
+         <th width=17% align=left>Invoice #</th>
+         <th width=17% align=left>Order #</th>
+         <th width=17% align=left>Date</th>
+         <th width=17% align=left nowrap>Contact</th>
+         <%if warehouse%>
+         <th width=17% align=left>Warehouse</th>
+         <%end warehouse%>
+         <th width=17% align=left>Shipping Point</th>
+         <th width=15% align=left>Ship via</th>
+       </tr>
+
+        <tr>
+         <td><%invnumber%>&nbsp;</td>
+         <td><%ordnumber%>&nbsp;</td>
+         
+         <%if shippingdate%>
+         <td><%shippingdate%></td>
+         <%end shippingdate%>
+         
+         <%if not shippingdate%>
+         <td><%transdate%></td>
+         <%end shippingdate%>
   
-    <tr>
-      <td> 
-      </td>
-    </tr>
+          <td><%employee%>&nbsp;</td>
+         
+         <%if warehouse%>
+         <td><%warehouse%>&nbsp;</td>
+         <%end warehouse%>
+
+         <td><%shippingpoint%>&nbsp;</td>
+         <td><%shipvia%>&nbsp;</td>
+       </tr>
+      </table>
     </td>
-    </table>
   </tr>
 
   <tr>
+    <td>&nbsp;</td>
+
     <td>
-    <table width=100%>
-    <tr bgcolor=000000>
-      <th align=left><font color=ffffff>Ship To:</th>
-    </tr>
-
-    <tr>
-      <td><%shiptoname%>
-      <br><%shiptoaddr1%>
-      <br><%shiptoaddr2%>
-      <br><%shiptoaddr3%>
-      <br><%shiptoaddr4%>
-<%if shiptocontact%>
-      <p>Attn: <%shiptocontact%>
-<%end shiptocontact%>
-
-      </td>
-    </tr>
-    </table>
+      <table width=100%>
+       <tr bgcolor=000000>
+         <th align=left><font color=ffffff>Pos</th>
+         <th align=left><font color=ffffff>Number</th>
+         <th align=left><font color=ffffff>Description</th>
+         <th align=left><font color=ffffff>Serial Number</th>
+         <th>&nbsp;</th>
+         <th><font color=ffffff>Qty</th>
+         <th><font color=ffffff>Ship</th>
+         <th>&nbsp;</th>
+       </tr>
+
+       <%foreach number%>
+       <tr valign=top>
+         <td><%runningnumber%></td>
+         <td><%number%></td>
+         <td><%description%></td>
+         <td><%serialnumber%></td>
+         <td><%deliverydate%></td>
+         <td align=right><%qty%></td>
+         <td align=right><%ship%></td>
+         <td><%unit%></td>
+       </tr>
+       <%end number%>
+
+      </table>
     </td>
   </tr>
 
   <tr>
-    <td> 
-    </td>
+    <td>&nbsp;</td>
+
+    <td><hr noshade></td>
   </tr>
-  
+
   <tr>
+    <td>&nbsp;</td>
+    
     <td>
-    <table width=100%>
-    <tr bgcolor=000000>
-      <th align=left><font color=ffffff>Number</th>
-      <th align=left><font color=ffffff>Description</th>
-      <th><font color=ffffff>Qt'y</th>
-      <th>&nbsp;</th>
-    </tr>
-
-<%foreach number%>
-    <tr valign=top>
-      <td><%number%></td>
-      <td><%description%></td>
-      <td align=right><%qty%></td>
-      <td><%unit%></td>
-    </tr>
-<%end number%>
-
-    <tr>
-      <td colspan=4><hr noshade></td>
-    </tr>
-
-    </table>
+      <table width=100%>
+       <tr valign=top>
+         <td>Notes</td>
+         <td><%notes%></td>
+       </tr>
+      </table>
     </td>
   </tr>
 
-<tr>
-  <td>
-  <table width=100%>
-    <tr valign=top>
-<%if notes%>
-      <td>Notes</td>
-      <td><pre><%notes%></pre></td>
-<%end notes%>
-      <td align=right>
-      <%shippingpoint%>
-      </td>
-    </tr>
-
-  </table>
-  </td>
-</tr>
-
-<tr>
-  <td>
-  <table width=100%>
-  <tr valign=top>
-    <td><font size=-3>
-    Items returned are subject to
-    a 10% restocking charge. A return authorization must be obtained
-    from <%company%> before goods are returned. Returns must be shipped
-    prepaid and properly insured. <%company%> will not be responsible
-    for damages during transit.
-    </font>
-    </td>
-    <td width=150>
-    X <hr noshade>
+  <tr>
+    <td>&nbsp;</td>
+    
+    <td>
+      <table width=100%>
+       <tr valign=top>
+         <td width=70%><font size=-3>
+         Items returned are subject to
+         a 10% restocking charge. A return authorization must be obtained
+         from <%company%> before goods are returned. Returns must be shipped
+         prepaid and properly insured. <%company%> will not be responsible
+         for damages during transit.
+         </font>
+         </td>
+         <td width=30%>
+         X <hr noshade>
+         </td>
+       </tr>
+      </table>
     </td>
   </tr>
-  </table>
-  </td>
-</tr>
-
 </table>
 
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-