summaryrefslogtreecommitdiff
path: root/sql-ledger/templates/Service-purchase_order.html
blob: f2e9f7e227487e2789000e6f68dfc409007da8d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194

<body bgcolor=ffffff>

<table width=100%>
<tr valign=bottom>
  <td width=10>&nbsp;</td>
  <td>
  
  <table width=100%>
  <tr>
    <td>
      <h4>
      <%company%>
      <br><%address%>
      </h4>
    </td>

    <td align=right>
      <h4>
      Telephone: <%tel%>
      <br>Facsimile: <%fax%>
      </h4>
    </td>
  </tr>

  <tr>
    <th colspan=3>
      <h4>P U R C H A S E &nbsp;&nbsp; O R D E R</h4>
    </th>
  </tr>

  </table>


  <table width=100% callspacing=0 cellpadding=0>
    
  <tr>
    <td align=right>
    <table>
    <tr>
      <th align=right>Order Date</th><td width=10>&nbsp;</td><td><%orddate%></td>
    </tr>
  
    <tr>
      <th align=right>Required by</th><td width=10>&nbsp;</td><td><%reqdate%></td>
    </tr>

    <tr>
      <th align=right>Number</th><td>&nbsp;</td><td><%ordnumber%></td></tr>
    </tr>
  
    <tr>
      <td>&nbsp;</td>
    </tr>
    </td>
    </table>
  </tr>

  <tr>
    <td>
    <table width=100%>
    <tr bgcolor=000000>
      <th align=left><font color=ffffff>To:</th>
    </tr>

    <tr>
      <td><%name%>
      <br><%addr1%>
      <br><%addr2%>
      <br><%addr3%>
      <br><%addr4%>
      </td>
    </tr>
    </table>
    </td>
  </tr>

  <tr>
    <td>&nbsp;</td>
  </tr>
  
  <tr>
    <td>
    <table width=100%>
    <tr bgcolor=000000>
<!--      <th align=right><font color=ffffff>No.</th>  -->
      <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>
      <th><font color=ffffff>Price</th>
      <th><font color=ffffff>Amount</th>
    </tr>

<%foreach number%>
    <tr valign=top>
<!--      <td align=right><%runningnumber%>.</td>
adjust the colspan if you include this to shift subtotal one to the right
-->
      <td><%number%></td>
      <td><%description%></td>
      <td align=right><%qty%></td>
      <td><%unit%></td>
      <td align=right><%sellprice%></td>
      <td align=right><%linetotal%></td>
    </tr>
<%end number%>

    <tr>
      <td colspan=6><hr noshade></td>
    </tr>
    
    <tr>
      <th colspan=4 align=right>Subtotal</th>
      <td colspan=2 align=right><%subtotal%></td>
    </tr>

<%foreach tax%>
    <tr>
      <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th>
      <td colspan=2 align=right><%tax%></td>
    </tr>
<%end tax%>

    <tr>
      <td colspan=2>&nbsp;</td>
      <td colspan=4><hr noshade></td>
    </tr>

    <tr>
      <td colspan=2>Terms Net <b><%terms%></b> days</td>
      <th colspan=2 align=right>Total</th>
      <th colspan=2 align=right><%total%></th>
    </tr>

    <tr>
      <td>&nbsp;</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>
      All prices in <b><%currency%></b> Funds
      <br><%shippingpoint%>
      </td>
    </tr>

  </table>
  </td>
</tr>

<tr><td>&nbsp;</td></tr>
  
<tr>
  <td>
  <table width=100%>
  <tr valign=top>
    <td><font size=-3>
    Payment due NET <%terms%> Days from date of Invoice.
    Interest on overdue amounts will acrue at the rate of 1.5% per month
    from due date until paid in full. 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>
    </td>
  </tr>
  </table>
  </td>
</tr>

</table>

</td>
</tr>
</table>

</body>
</html>