1 <html metal:use-macro="here/main_template/macros/master"
2 xmlns:tal="http://xml.zope.org/namespaces/tal"
3 xmlns:metal="http://xml.zope.org/namespaces/metal"
4 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
7 <meta http-equiv="content-type" content="text/html;charset=utf-8" />
10 <body i18n:domain="photoprint">
11 <div metal:fill-slot="main_no_tabs" tal:omit-tag="">
12 <div tal:condition="options/orderIsCart" tal:omit-tag="">
13 <div tal:define="step_authentication python:True;
14 step_shipping python:True;
15 step_payment python:True;
16 step_confirmation python:options['wfstate'] != 'recorded'">
17 <div metal:use-macro="here/sell_macros/macros/sell_steps">
22 <h1 i18n:translate="" style="margin-bottom:0">
23 Order Nb. <span tal:content="here/getId" tal:omit-tag="" i18n:name="order_number"/>
25 <table cellpadding="5">
28 <h2 i18n:translate="" style="margin:0">Billing</h2>
29 <table tal:define="billing here/billing" class="listing">
31 <th i18n:translate="">Name</th>
32 <td tal:content="billing/name">billing name</td>
35 <th i18n:translate="">Address</th>
36 <td tal:content="billing/address">billin address</td>
39 <th i18n:translate="">City</th>
40 <td tal:content="billing/city">billing city</td>
43 <th i18n:translate="">Zip code</th>
44 <td tal:content="billing/zipcode">billing zip code</td>
47 <th i18n:translate="">Country</th>
48 <td tal:content="billing/country" i18n:domain="iso_3166_1" i18n:translate="">Country</td>
53 <h2 i18n:translate="" style="margin:0">Shipping</h2>
54 <table tal:define="shipping here/shipping" class="listing">
56 <th i18n:translate="">Name</th>
57 <td tal:content="shipping/name">shpping name</td>
60 <th i18n:translate="">Address</th>
61 <td tal:content="shipping/address">shpping address</td>
64 <th i18n:translate="">City</th>
65 <td tal:content="shipping/city">shipping city</td>
68 <th i18n:translate="">Zip code</th>
69 <td tal:content="shipping/zipcode">shipping zip code</td>
72 <th i18n:translate="">Country</th>
73 <td tal:content="shipping/country" i18n:domain="iso_3166_1" i18n:translate="">chipping country</td>
78 <img tal:define="translate nocall:modules/Products/photoprint/utils/translate;
79 tr python:lambda msg: translate(msg, here)"
80 tal:attributes="src python:'%s/order_states/%s' % (portal_url, tr('%s-en.gif' % options['wfstate']))"
83 <td tal:condition="workflow_actions" class="boxes_container">
84 <h3 i18n:translate="">Processing</h3>
86 <li tal:repeat="action workflow_actions">
87 <a tal:attributes="href action/url" tal:content="action/title" i18n:translate=""></a>
93 <table class="listing" cellspacing="0">
95 <col span="4" style="text-align:right"/>
97 <th i18n:translate="">Image</th>
98 <th i18n:translate="" style="width:30em">Printing format and type</th>
99 <th i18n:translate="">Quantity</th>
100 <th i18n:translate="">Unit price</th>
101 <th i18n:translate="">VAT (%)</th>
102 <th i18n:translate="">Amount<br/>(tax incl.)</th>
104 <tr tal:repeat="i options/infos" tal:attributes="class python:repeat['i'].odd() and 'odd' or 'even'">
106 <img border="0" tal:condition="python:i.has_key('thumbUrl')"
107 tal:attributes="src i/thumbUrl;
109 height i/thumbHeight;
110 width i/thumbWidth"/>
111 <em tal:condition="python:not i.has_key('thumbUrl')" i18n:translate="">image removed</em>
114 <div style="font-weight:bold" tal:content="i/title"></div>
115 <dl class="FieldHelp">
116 <dd tal:content="i/description"></dd>
119 <td class="num" tal:content="python:i['quantity']">12</td>
120 <td class="num" tal:content="python:'%s €' % i['unit_price'].value"></td>
121 <td class="num" tal:content="python:i['unit_price'].vat"></td>
122 <td class="num" tal:content="python:'%s €' % i['total'].taxed" style="border-right:1px solid black"></td>
124 <tbody class="total">
126 <th colspan="2"></th>
127 <th class="num" tal:content="options/quantity"></th>
128 <th class="num">—</th>
129 <th class="num">—</th>
130 <th class="num" tal:content="python:'%s €' % options['pricesSum'].taxed"
131 style="border-right:1px solid black"></th>
134 <td class="num" colspan="5" i18n:translate="">Shipping</td>
135 <td class="num" tal:content="python:'%s €' % options['shippingFees'].taxed"></td>
138 <td class="num" colspan="5" i18n:translate="">VAT</td>
139 <td class="num" tal:content="python:'%s €' % options['total'].tax"></td>
142 <th class="num" colspan="5" i18n:translate="">Total amount to pay</th>
143 <td class="num" style="color:#f28c18"
144 tal:content="python:'%s €' % options['total'].taxed">montant total</td>
148 <tr tal:define="paymentRequest options/paymentRequest|nothing" tal:condition="paymentRequest">
151 <div style="text-align:right">
152 <form tal:attributes="action paymentRequest/URL" method="post" style="text-align:top">
153 <input type="hidden" name="DATA" tal:attributes="value paymentRequest/DATA"/>
154 <span i18n:translate="" style="font-size:110%;font-weight:bold;vertical-align:middle">Use one of these button to pay:</span>
155 <span tal:repeat="mean paymentRequest/PAYMENT_MEANS">
156 <input type="image" style="vertical-align:middle"
157 tal:attributes="src python:'%s/cyberplus_logo/%s.gif' % (portal_url, mean);
160 <input type="hidden" name="noAjax" value="1"/>
164 <img tal:attributes="src string:$portal_url/cyberplus_logo/banque_populaire_logo.png"
165 style="float:left;margin-right:1em"/>
166 <dl class="FieldHelp">
167 <dd i18n:translate="">
168 Please click over the button representing your credit card.
169 You will leave temporarily this web site to pay your order
170 on our bank partner payment site. After your payment, you
171 will be able to come back to the store and get an invoice of
174 <dd i18n:translate="">
175 This secured payment is provided by the Cyberplus™ payment
176 service of "Banque Populaire".
185 <h3 i18n:translate="">Order processing history</h3>
186 <table cellspacing="0" class="listing"
187 tal:define="history options/wfhistory"
188 tal:condition="history">
190 <th i18n:translate="">Date</th>
191 <th i18n:translate="">Actor</th>
192 <th i18n:translate="">Action</th>
194 <div tal:repeat="item python:history[::-1]" tal:omit-tag="">
195 <tr tal:define="oddrow repeat/item/odd" tal:attributes="class python:test(oddrow, 'even', 'odd')"
196 tal:condition="item/action">
197 <td tal:content="python:item['time'].strftime(locale_date_fmt)">time</td>
198 <td tal:condition="python:item['action'].startswith('auto_')">Cyberplus</td>
199 <td tal:condition="python:not item['action'].startswith('auto_')"
200 tal:content="python:mtool.getMemberFullNameById(item['actor'], nameBefore=0)">actor</td>
201 <td tal:content="item/action" i18n:translate=""></td>