]> git.imager.perl.org - bse.git/blob - site/templates/mailcommon.tmpl
make default, delete and note supplied via a options parameter
[bse.git] / site / templates / mailcommon.tmpl
1 Order: <:= order.id.format("%06d") |raw :>
2
3 Delivery: <:= order.delivFirstName |raw :> <:= order.delivLastName |raw:>
4           <:= order.delivStreet |raw:>
5           <:= order.delivSuburb |raw:> <:= order.delivPostCode |raw:> <:= order.delivState |raw:>
6           <:= order.delivCountry |raw:>
7
8 Phone   : <:= order. telephone |raw:>
9 <:.if order.delivMobile:>Mobile  : <:= order.delivMobile |raw:>
10 <:.end if:>Fax     : <:= order.facsimile |raw:>
11 Email   : <:= order.emailAddress |raw:>
12
13 Product                                   Units  Price   Extended
14 -----------------------------------------------------------------
15 <:.for item in [ order.items ] -:>
16 <:-= item.title.format("%-42s") |raw:>
17 <:-= item.units.format("%2d") |raw:>
18 <:-= bse.number("money", item.price).format("%10s") |raw:>
19 <:-= bse.number("money", item.extended("price")).format("%11s") |raw:>
20 <:-.if item.nice_options :>
21    <:= item.nice_options:>
22 <:-.end if:>
23 <:.end for -:>
24 -----------------------------------------------------------------
25                                              Shipping: <:= bse.number("money", order.shipping_cost).format("%10s") :>
26                                                 Total: <:= bse.number("money", order.total).format("%10s") :>
27                                                   GST: <:= bse.number("money", order.gst).format("%10s"):>