Documentation is available at standard_shop_orderdetails.obj.php
1 <?php
2 #IPW METAZO 2.0 OBJECT
3 $_objoldid = 314152;
4 function objfile_314152 () {
5 $obj = owNew('template');
6 $objdata['name'] = "standard_shop_orderdetails";
7 $objdata['content'] = "{if \$result.orderline|@sizeof != 0}
8 <table class=\"extshoptablebg\" width=\"100%\" cellspacing=\"1\">
9 <tr>
10 <th class=\"extshopheader\"> Varenr </th>
11 <th class=\"extshopheader\"> Varetekst </th>
12 <th class=\"extshopheader\" align=\"right\"> Antal </th>
13 {if \$result.viewdisc == true}
14 <th class=\"extshopheader\"> Normalpris </th>
15 <th class=\"extshopheader\"> Rabat </th>
16 {/if}
17 <th class=\"extshopheader\" align=\"right\"> Pris </th>
18 </tr>
19 <tr>
20 <td class=\"extshopdarkcell\" colspan=\"10\"><b>ORDREDETALJER</b></td>
21 </tr>
22 {section name=i loop=\$result.orderline}
23 <tr>
24 <td class=\"{if \$smarty.section.i.index is odd}extshopcolorcell{else}extshoplightcell{/if}\" width=\"15%\" align=\"left\" nowrap>{\$result.orderline[i].item.name}</td>
25 <td class=\"{if \$smarty.section.i.index is odd}extshopcolorcell{else}extshoplightcell{/if}\" width=\"70%\">{\$result.orderline[i].item.content1}</td>
26 <td class=\"{if \$smarty.section.i.index is odd}extshopcolorcell{else}extshoplightcell{/if}\" align=\"right\" nowrap>{\$result.orderline[i].num}</td>
27 {if \$result.viewdisc == true}
28 <td class=\"{if \$smarty.section.i.index is odd}extshopcolorcell{else}extshoplightcell{/if}\" width=\"15%\" align=\"right\" nowrap>({\$result.orderline[i].price}) <strong>{\$result.orderline[i].pricevat}</strong></td>
29 <td class=\"{if \$smarty.section.i.index is odd}extshopcolorcell{else}extshoplightcell{/if}\" width=\"15%\" align=\"right\" nowrap>({\$result.orderline[i].disc}) <strong>{\$result.orderline[i].discvat}</td>
30 {/if}
31 <td class=\"{if \$smarty.section.i.index is odd}extshopcolorcell{else}extshoplightcell{/if}\" width=\"15%\" align=\"right\" nowrap>({\$result.orderline[i].sumactpricecur}) <strong>{\$result.orderline[i].sumactpricecurvat}</strong></td>
32 </tr>
33 {/section}
34 <tr>
35 <td class=\"{if \$smarty.section.i.index is odd}extshopcolorcell{else}extshoplightcell{/if}\" align=\"left\"></td>
36 <td class=\"{if \$smarty.section.i.index is odd}extshopcolorcell{else}extshoplightcell{/if}\" ><b>FRAGTOMKOSTNINGER</b></td>
37 <td class=\"{if \$smarty.section.i.index is odd}extshopcolorcell{else}extshoplightcell{/if}\" align=\"right\"></td>
38 <td class=\"{if \$smarty.section.i.index is odd}extshopcolorcell{else}extshoplightcell{/if}\" align=\"right\" nowrap>({\$result.order.shippingprice}) <strong>{\$result.order.shippingpricevat}</strong></td>
39 </tr>
40 <tr>
41 <td class=\"{if \$smarty.section.i.index is odd}extshopcolorcell{else}extshoplightcell{/if}\" align=\"left\"></td>
42 <td class=\"{if \$smarty.section.i.index is odd}extshopcolorcell{else}extshoplightcell{/if}\" ><b>BETALINGSOMKOSTNINGER</b></td>
43 <td class=\"{if \$smarty.section.i.index is odd}extshopcolorcell{else}extshoplightcell{/if}\" align=\"right\"></td>
44 <td class=\"{if \$smarty.section.i.index is odd}extshopcolorcell{else}extshoplightcell{/if}\" align=\"right\" nowrap>({\$result.order.paymentprice}) <strong>{\$result.order.paymentpricevat}</strong></td>
45 </tr>
46 <tr>
47 <td class=\"{if \$smarty.section.i.index is odd}extshopcolorcell{else}extshoplightcell{/if}\" align=\"left\"></td>
48 <td class=\"{if \$smarty.section.i.index is odd}extshopcolorcell{else}extshoplightcell{/if}\" ><b>TOTAL</b></td>
49 <td class=\"{if \$smarty.section.i.index is odd}extshopcolorcell{else}extshoplightcell{/if}\" align=\"right\"></td>
50 {if \$result.viewdisc == true}
51 <td class=\"{if \$smarty.section.i.index is odd}extshopcolorcell{else}extshoplightcell{/if}\" align=\"right\"></strong></td>
52 <td class=\"{if \$smarty.section.i.index is odd}extshopcolorcell{else}extshoplightcell{/if}\" align=\"right\"></td>
53 {/if}
54 <td class=\"{if \$smarty.section.i.index is odd}extshopcolorcell{else}extshoplightcell{/if}\" align=\"right\" nowrap>({\$result.order.total}) <strong>{\$result.order.totalvat}</strong></td>
55 </tr>
56 <tr>
57 <td class=\"extshopdarkcell\" colspan=\"10\"> </td>
58 </tr>
59 </table>
60 {/if}";
61 $objdata['param'] = "";
62 $objdata['setting'] = "";
63 $objdata['tpltype'] = "2";
64 $objdata['header'] = "";
65 $objdata['style'] = "";
66 $objdata['doctype'] = "0";
67 $obj->createObject($objdata);
68 return $obj;
69 }
70 ?>
Documentation generated on Thu, 9 Jun 2005 06:53:29 +0200 by phpDocumentor 1.2.3