templates/order.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% set title = 'Order' %}
  3. {% block javascripts %}
  4. <script src="https://code.jquery.com/jquery-3.4.1.min.js"
  5. integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
  6. crossorigin="anonymous"></script>
  7. <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"
  8. integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU="
  9. crossorigin="anonymous"></script>
  10. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.bundle.min.js"
  11. integrity="sha384-xrRywqdh3PHs8keKZN+8zzc5TX0GRTLCcmivcbNJWm2rs5C8PRhcEn3czEjhAO9o"
  12. crossorigin="anonymous"></script>
  13. <script src="https://cdnjs.cloudflare.com/ajax/libs/bootbox.js/5.3.2/bootbox.min.js"
  14. integrity="sha256-s87nschhfp/x1/4+QUtIa99el2ot5IMQLrumROuHZbc=" crossorigin="anonymous"></script>
  15. <script>{{ js|raw }}</script>
  16. {{ encore_entry_script_tags('order') }}
  17. {% endblock %}
  18. {% block body %}
  19. <div id="content">
  20. <form name='order_form' id='order_form' onsubmit="popVals()" action="{{ path('app_default_ordersubmit') }}"
  21. method="post">
  22. <table id="main_table">
  23. <tr>
  24. <td>
  25. <p id="main_heading">
  26. Al-Meda Chocolates Order Form!!!!
  27. </p>
  28. <p id="instructions">
  29. If you would prefer the mail or fax options, fill
  30. <br/> in your order,then <a href="#" onclick="window.print()">click here</a> to print it.
  31. <br/><br/><span style="font-weight: bold;">Please note that if you print and fax this, do NOT submit it electronically!</span>
  32. <br/>This will result in a duplicated order!
  33. </p>
  34. </td>
  35. </tr>
  36. <tr>
  37. <td>
  38. <p id="address">
  39. PO Box 444&nbsp;&nbsp;
  40. 23050 County Road E&nbsp;&nbsp; Archbold, OH&nbsp;43502<br/>
  41. Phone (419) 446-2676&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Toll free&nbsp; (800) 343-0333&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  42. Fax (419) 446-4810
  43. </p>
  44. </td>
  45. </tr>
  46. <tr>
  47. <td>
  48. <table class="inner_table">
  49. <tr>
  50. <td class="subheading">Billing Information</td>
  51. </tr>
  52. <tr>
  53. <td>
  54. <table class="level3table">
  55. <tr>
  56. <td colspan="2"
  57. style="text-align: left; padding-left: 15%; font-weight: bold; font-size: 9pt;">
  58. * - Required fields
  59. </td>
  60. </tr>
  61. <tr>
  62. <td class="leftcol">
  63. <label for="bill_name">* Name:</label>
  64. </td>
  65. <td class="rightcol">
  66. <input class="mwd-required" id="bill_name"
  67. name="bill_name" type="text" size="63"/>
  68. </td>
  69. </tr>
  70. <tr>
  71. <td class="leftcol">
  72. <label for="bill_street">* Street:</label>
  73. </td>
  74. <td class="rightcol">
  75. <input class="mwd-required" name="bill_street"
  76. id="bill_street" type="text" size="63"/>
  77. </td>
  78. </tr>
  79. <tr>
  80. <td class="leftcol">
  81. <label for="bill_street_2">&nbsp;</label>
  82. </td>
  83. <td class="rightcol">
  84. <input name="bill_street_2" id="bill_street_2" type="text" size="63"/>
  85. </td>
  86. </tr>
  87. <tr>
  88. <td class="leftcol">
  89. <label for="bill_city">* City:</label>
  90. </td>
  91. <td class="csz rightcol">
  92. <input class="mwd-required" name="bill_city"
  93. id="bill_city" type="text" size="28"/>
  94. <label>* State: <input class="mwd-required" name="bill_state"
  95. id="bill_state" type="text"
  96. size="2"/></label>
  97. <label>* Zip: <input class="mwd-required" name="bill_zip" id="bill_zip"
  98. type="text" size="10"/></label>
  99. </td>
  100. </tr>
  101. <tr>
  102. <td class="leftcol">* Phone:</td>
  103. <td class="phone rightcol">
  104. <label><input class="mwd-required"
  105. style="margin-left: 0;" name="day_phone" id="day_phone"
  106. type="text"/>
  107. (daytime)</label>
  108. </td>
  109. </tr>
  110. <tr>
  111. <td class="leftcol">* Phone:</td>
  112. <td class="phone rightcol">
  113. <label><input class="mwd-required"
  114. style="margin-left: 0;" name="eve_phone" id="eve_phone"
  115. type="text"/>
  116. (evening)</label>
  117. </td>
  118. </tr>
  119. <tr>
  120. <td class="leftcol">
  121. <label for="email">* Email:</label>
  122. </td>
  123. <td class="rightcol">
  124. <input class="mwd-required" name="email" id="email"
  125. type="email" size="63"/>
  126. </td>
  127. </tr>
  128. </table>
  129. </td>
  130. </tr>
  131. </table>
  132. </td>
  133. </tr>
  134. <tr>
  135. <td>&nbsp;</td>
  136. </tr>
  137. <tr>
  138. <td>
  139. <table class="inner_table">
  140. <tr>
  141. <td class="subheading" colspan="2">
  142. Payment Information
  143. </td>
  144. </tr>
  145. <tr>
  146. <td id="cc_warning" colspan="2">
  147. For security reasons, we will contact you for credit card information. If you have a
  148. current credit card on file with us, that will be used.
  149. </td>
  150. </tr>
  151. <tr>
  152. <td class="instructions" colspan="2">
  153. Appropriate shipping charges {#and discounts #}will be added when we process this order.
  154. </td>
  155. </tr>
  156. <tr>
  157. <td class="instructions" colspan="2">
  158. <label>
  159. <input name="check_mo_encl" type="checkbox"/>
  160. Check / Money Order Enclosed
  161. </label>
  162. </td>
  163. </tr>
  164. <tr>
  165. <td class="instructions" colspan="2">
  166. Please Charge my:
  167. </td>
  168. </tr>
  169. <tr>
  170. <td class="instructions" colspan="2">
  171. <table class="cc">
  172. <tbody>
  173. <tr>
  174. <td>[&nbsp; ] Visa</td>
  175. <td>[&nbsp; ] MasterCard</td>
  176. <td>[&nbsp; ] American Express</td>
  177. </tr>
  178. </tbody>
  179. </table>
  180. </td>
  181. </tr>
  182. <tr>
  183. <td class="instructions">
  184. &nbsp; Card No: ________________________________________
  185. </td>
  186. <td class="instructions">
  187. &nbsp; &nbsp;Security Code: _________&nbsp; &nbsp;
  188. <a href="#"
  189. onclick="window.open('https://en.wikipedia.org/wiki/Card_Security_Code');return false;">
  190. What is this?
  191. </a>
  192. </td>
  193. </tr>
  194. <tr>
  195. <td class="instructions">
  196. Signature: ________________________________________
  197. </td>
  198. <td class="instructions">
  199. Exp Date: _______ / ________
  200. </td>
  201. </tr>
  202. </table>
  203. </td>
  204. </tr>
  205. <tr>
  206. <td>
  207. <input type="hidden" id="recip_nums" name="recip_nums"/>
  208. </td>
  209. </tr>
  210. <tr>
  211. <td id="ship_to_head0">
  212. </td>
  213. </tr>
  214. <tr>
  215. <td>
  216. <input type="button" value="Additional Recipient" id="add_ship_to0" name="add_ship_to0"/>
  217. </td>
  218. </tr>
  219. <tr>
  220. <td>
  221. <table class="notes_table">
  222. <tr>
  223. <td class="leftcol">
  224. <label for="total_price">Total Price:</label>
  225. </td>
  226. <td class="rightcol">
  227. <input size="8" type="text"
  228. id="total_price"
  229. name="total_price"
  230. value="0.00"
  231. style="text-align: right;"
  232. disabled="disabled"/>
  233. </td>
  234. </tr>
  235. <tr>
  236. <td class="leftcol" style="vertical-align: top;">
  237. <label for="notes">Notes:</label>
  238. </td>
  239. <td class="rightcol">
  240. <textarea name="notes" id="notes"></textarea>
  241. </td>
  242. </tr>
  243. <tr>
  244. <td colspan="2" style="text-align: center;">
  245. <input type="submit"
  246. value="Submit Order"
  247. id="submit_order"
  248. name="submit_order"
  249. onmouseover="popVals()"
  250. disabled="disabled"/>
  251. </td>
  252. </tr>
  253. </table>
  254. </td>
  255. </tr>
  256. </table>
  257. <div style="margin-top: 12px;">
  258. <table class="inner_table price_list">
  259. <tr>
  260. <td style="background-color: #000000; color: #FFFFFF; font-size: 12pt; font-weight: bold;"
  261. colspan="8">Price List
  262. </td>
  263. </tr>
  264. <tr class="subheading">
  265. <td colspan="4">
  266. Al-Meda Famous Chocolate Stix
  267. </td>
  268. <td colspan="4">
  269. Al-Meda Marshmallow Treats
  270. </td>
  271. </tr>
  272. <tr style="text-align: justify;">
  273. <td colspan="4" style="vertical-align: top;">
  274. Our most popular and favorite item!&nbsp; <span style="font-style: italic;">Milk, Dark or Mixed Chocolate</span>
  275. </td>
  276. <td colspan="4">
  277. This old favorite is available right now. John Rupp, who was the owner of Al-Meda Chocolates
  278. for many years, developed the delicious marshmallow recipe. Its delicate, soft, and
  279. magnificent center is coated with delicious Al-Meda's Chocolate. One word describes this
  280. morsel, fantastic! Order early, we make just a few batches.
  281. </td>
  282. </tr>
  283. <tr>
  284. {#<td colspan="8">
  285. <h3 style="text-align: center;">
  286. At the present time, we are SOLD OUT of Chocolate Stix and Assorted Chocolates.
  287. </h3>
  288. </td>#}
  289. <td style="text-align: right;">1/4-lb. box</td>
  290. <td class="price_right">{{ chocArray[0].ProductCost|format_currency('USD') }}</td>
  291. <td style="text-align: right;">1-lb. box</td>
  292. <td class="price_right">{{ chocArray[2].ProductCost|format_currency('USD') }}</td>
  293. <td colspan="2" style="text-align: right;">3/4-lb. box</td>
  294. <td class="price_right" colspan="2">{{ chocArray[13].ProductCost|format_currency('USD') }}</td>
  295. </tr>
  296. <tr>
  297. <td style="text-align: right;">1/2-lb. box</td>
  298. <td class="price_right">{{ chocArray[1].ProductCost|format_currency('USD') }}</td>
  299. <td style="text-align: right;">2-lb. box</td>
  300. <td class="price_right">{{ chocArray[3].ProductCost|format_currency('USD') }}</td>
  301. <td colspan="2" style="text-align: right;">1.5-lb. box</td>
  302. <td class="price_right" colspan="2">{{ chocArray[14].ProductCost|format_currency('USD') }}</td>
  303. </tr>
  304. <tr>
  305. <td colspan="3" style="text-align: right;">3-lb. box</td>
  306. <td class="price_right">{{ chocArray[4].ProductCost|format_currency('USD') }}</td>
  307. <td colspan="2" style="text-align: right;">{#2-lb. box#}</td>
  308. <td class="price_right" colspan="2">{#{{ chocArray[7].ProductCost|format_currency('USD') }}#}</td>
  309. </tr>
  310. <tr class="subheading">
  311. <td colspan="4">Al-Meda Mints</td>
  312. <td colspan="4">Al-Meda Chocolate Covered Nuts</td>
  313. </tr>
  314. <tr>
  315. <td colspan="4" style="text-align: justify;">
  316. Creamy mint centers dipped in a rich chocolate shell.&nbsp;
  317. <span style="font-style: italic;">Milk, Dark or Mixed Chocolate</span>
  318. </td>
  319. <td colspan="4" style="text-align: justify;">
  320. A real favorite with many people.&nbsp; Your choice of nuts or we'll pack to your liking.&nbsp;
  321. <span style="font-style: italic;">Milk, Dark or Mixed Chocolate</span>
  322. </td>
  323. </tr>
  324. <tr>
  325. {#<td colspan="4" rowspan="2">
  326. <h3 style="text-align: center;">
  327. At the present time, we are SOLD OUT of Mints.
  328. </h3>
  329. </td>#}
  330. <td style="text-align: right;">1/4-lb. box</td>
  331. <td class="price_right">{{ chocArray[8].ProductCost|format_currency('USD') }}</td>
  332. <td style="text-align: right;">1-lb. box</td>
  333. <td class="price_right">{{ chocArray[10].ProductCost|format_currency('USD') }}</td>
  334. <td style="text-align: right;">1/2-lb. box</td>
  335. <td class="price_right">{{ chocArray[17].ProductCost|format_currency('USD') }}</td>
  336. <td style="text-align: right;">2-lb. box</td>
  337. <td class="price_right">{{ chocArray[19].ProductCost|format_currency('USD') }}</td>
  338. </tr>
  339. <tr>
  340. <td style="text-align: right;">1/2-lb. box</td>
  341. <td class="price_right">{{ chocArray[9].ProductCost|format_currency('USD') }}</td>
  342. <td style="text-align: right;">2-lb. box</td>
  343. <td class="price_right">{{ chocArray[11].ProductCost|format_currency('USD') }}</td>
  344. <td style="text-align: right;">1-lb. box</td>
  345. <td class="price_right">{{ chocArray[18].ProductCost|format_currency('USD') }}</td>
  346. <td style="text-align: right;">3-lb. box</td>
  347. <td class="price_right">{{ chocArray[20].ProductCost|format_currency('USD') }}</td>
  348. </tr>
  349. <tr class="subheading">
  350. <td colspan="4">
  351. Al-Meda Gourmet Chocolate Covered Pretzels
  352. </td>
  353. <td colspan="4">
  354. Bits 'N Pieces
  355. </td>
  356. </tr>
  357. <tr>
  358. <td colspan="4" style="text-align: justify;">
  359. Small sized, twisted pretzels dipped in Al-Meda's high-quality delicious milk or dark
  360. chocolate, and packaged in one pound bags. Your choice of milk or dark chocolate.
  361. </td>
  362. <td colspan="4" style="text-align: justify;">
  363. These are the broken centers of the Stix, dipped in Al-Meda chocolate, same great taste as the Stix!
  364. Sorry, they aren't available mixed, <span style="font-style: italic;">only milk or dark chocolate.&nbsp;</span>
  365. Packed in one-pound bags.
  366. </td>
  367. </tr>
  368. <tr>
  369. <td colspan="2" style="text-align: right;">1-lb. bag</td>
  370. <td colspan="2" style="text-align: left;">{{ chocArray[15].ProductCost|format_currency('USD') }}</td>
  371. {#<td colspan="4">
  372. <h3 style="text-align: center;">
  373. At the present time, we are SOLD OUT of Bits 'N Pieces.
  374. </h3>
  375. </td>#}
  376. <td colspan="2" style="text-align: right;">1 lb bag</td>
  377. <td colspan="2" style="text-align: left;">{{ chocArray[12].ProductCost|format_currency('USD') }} per bag</td>
  378. </tr>
  379. {#<tr>
  380. <td colspan="4" style="text-align: justify;">
  381. Shipping for Pretzels are $11.00 for 1 bag per shipping address; $13.00 for 2 bags per
  382. shipping address. There is a $2.50 surcharge for the following states: AK., AZ., CA., CO., HI., ID.,
  383. OR., NV., MT., NM., UT., WA., WY. and US Virgin Islands. Regular shipping charges apply to 3 or
  384. more bags per shipping address, please refer to the shipping table for prices.
  385. </td>
  386. <td colspan="4" style="text-align: justify;">
  387. Shipping for Bits 'N Pieces are $11.00 for 1 bag per shipping address; $13.00 for 2 bags per
  388. shipping address. There is a $2.50 surcharge for the following states: AK., AZ., CA., CO., HI., ID.,
  389. OR., NV., MT., NM., UT., WA., WY. and US Virgin Islands. Regular shipping charges apply to 3 or
  390. more bags per shipping address, please refer to the shipping table for prices.
  391. </td>
  392. </tr>#}
  393. <tr class="subheading">
  394. <td colspan="8">Fresh Nuts!!</td>
  395. </tr>
  396. <tr>
  397. <td colspan="8" style="text-align: left;">
  398. For anyone who wants to enjoy great tasting nuts naturally, they are available year round.&nbsp;
  399. Packaged in plastic bags, and tied with colorful ribbon.
  400. </td>
  401. </tr>
  402. <tr class="nut_heading">
  403. <td colspan="4">Roasted Salted Cashews</td>
  404. <td colspan="4">Mammoth Pecan Halves</td>
  405. </tr>
  406. <tr>
  407. <td colspan="2" style="text-align: right;">8 oz.</td>
  408. <td class="price_right" colspan="2">{{ nutsArray[4].ProductCost|format_currency('USD') }}</td>
  409. <td colspan="2" style="text-align: right;">8 oz.</td>
  410. <td class="price_right" colspan="2">{{ nutsArray[7].ProductCost|format_currency('USD') }}</td>
  411. </tr>
  412. <tr>
  413. <td colspan="2" style="text-align: right;">16 oz.</td>
  414. <td class="price_right" colspan="2">{{ nutsArray[5].ProductCost|format_currency('USD') }}</td>
  415. <td colspan="2" style="text-align: right;">16 oz.</td>
  416. <td class="price_right" colspan="2">{{ nutsArray[8].ProductCost|format_currency('USD') }}</td>
  417. </tr>
  418. <tr>
  419. <td colspan="2" style="text-align: right;">32 oz.</td>
  420. <td class="price_right" colspan="2">{{ nutsArray[6].ProductCost|format_currency('USD') }}</td>
  421. <td colspan="2" style="text-align: right;">32 oz.</td>
  422. <td class="price_right" colspan="2">{{ nutsArray[9].ProductCost|format_currency('USD') }}</td>
  423. </tr>
  424. <tr class="nut_heading">
  425. <td colspan="4">Roasted Salted Almonds</td>
  426. <td colspan="4">Fresh Mixed Nuts</td>
  427. </tr>
  428. <tr>
  429. <td colspan="2" style="text-align: right;">8 oz.</td>
  430. <td class="price_right" colspan="2" style="width: 25%; text-align: left;">{{ nutsArray[10].ProductCost|format_currency('USD') }}</td>
  431. <td colspan="2" style="width: 25%; text-align: right;">8 oz.</td>
  432. <td class="price_right" colspan="2" style="width: 25%; text-align: left;">{{ nutsArray[13].ProductCost|format_currency('USD') }}</td>
  433. </tr>
  434. <tr>
  435. <td colspan="2" style="width: 25%; text-align: right;">16 oz.</td>
  436. <td class="price_right" colspan="2" style="width: 25%; text-align: left;">{{ nutsArray[11].ProductCost|format_currency('USD') }}</td>
  437. <td colspan="2" style="width: 25%; text-align: right;">16 oz.</td>
  438. <td class="price_right" colspan="2" style="width: 25%; text-align: left;">{{ nutsArray[14].ProductCost|format_currency('USD') }}</td>
  439. </tr>
  440. <tr>
  441. <td colspan="2" style="width: 25%; text-align: right;">32 oz.</td>
  442. <td class="price_right" colspan="2" style="width: 25%; text-align: left;">{{ nutsArray[12].ProductCost|format_currency('USD') }}</td>
  443. <td colspan="2" style="width: 25%; text-align: right;">32 oz.</td>
  444. <td class="price_right" colspan="2" style="width: 25%; text-align: left;">{{ nutsArray[15].ProductCost|format_currency('USD') }}</td>
  445. </tr>
  446. </table>
  447. </div>
  448. {#<div style="margin-top: 12px;">
  449. <table class="inner_table">
  450. <tr>
  451. <td colspan="4"
  452. class="discount_sh_heading">
  453. Discounts on Boxed Chocolates
  454. </td>
  455. </tr>
  456. <tr>
  457. <td style="width: 25%; text-align: right;">200 lbs or more</td>
  458. <td style="width: 25%;">$1.50 discount per pound</td>
  459. <td style="width: 25%; text-align: right;">50 lbs or more</td>
  460. <td style="width: 25%;">$.75 discount per pound</td>
  461. </tr>
  462. <tr>
  463. <td style="width: 25%; text-align: right;">150 lbs or more</td>
  464. <td style="width: 25%;">$1.25 discount per pound</td>
  465. <td style="width: 25%; text-align: right;">25 lbs or more</td>
  466. <td style="width: 25%;">$.50 discount per pound</td>
  467. </tr>
  468. <tr>
  469. <td style="width: 25%; text-align: right;">100 lbs or more</td>
  470. <td style="width: 25%;">$1.00 discount per pound</td>
  471. <td>&nbsp;</td>
  472. <td>&nbsp;</td>
  473. </tr>
  474. </table>
  475. </div>#}
  476. <div style="margin-top: 12px;">
  477. <table class="inner_table">
  478. <tr>
  479. <td colspan="4" class="discount_sh_heading">
  480. Shipping &amp; Handling, per Address
  481. </td>
  482. </tr>
  483. <tr class="subheading">
  484. <td style="width: 25%;">Merchandise Total</td>
  485. <td style="width: 25%;">Shipping Fee</td>
  486. <td style="width: 25%;">Merchandise Total</td>
  487. <td style="width: 25%;">Shipping Fee</td>
  488. </tr>
  489. <tr>
  490. <td style="width: 25%; text-align: right;">$8.01 - $24.50</td>
  491. <td style="width: 25%; text-align: left; padding-left: 9%;">$10.00</td>
  492. <td style="width: 25%; text-align: right; font-size: small;">$200.01 - $400.00</td>
  493. <td style="width: 25%; text-align: left; padding-left: 9%">$25.00</td>
  494. </tr>
  495. <tr>
  496. <td style="width: 25%; text-align: right;">$24.51 - $45.50</td>
  497. <td style="width: 25%; text-align: left; padding-left: 9%">$14.00*</td>
  498. <td style="width: 25%; text-align: right;">$400.01 - $1500.00</td>
  499. <td style="width: 25%; text-align: left; padding-left: 9%">$35.00</td>
  500. </tr>
  501. <tr>
  502. <td style="width: 25%; text-align: right;">$45.51 - $200.00</td>
  503. <td style="width: 25%; text-align: left; padding-left: 9%">$15.00*</td>
  504. <td colspan=2>Over $1,501.00 shipping cost based upon UPS quoted charge</td>
  505. </tr>
  506. {#<tr>
  507. <td style="width: 25%; text-align: right;">#}{#Up to $8.00#}{#</td>
  508. <td style="width: 25%; text-align: left; padding-left: 10%;">#}{#$4.00#}{#</td>
  509. <td style="width: 25%; text-align: right;">Over $1,500.00</td>
  510. <td style="width: 25%; text-align: left; padding-left: 9%">$46.00</td>
  511. </tr>#}
  512. <tr>
  513. <td colspan="4">
  514. <p style="text-align: left; font-family: Arial, sans-serif; font-size: 10pt;">
  515. *$2.50 surcharge for package value of $24.51 to $200.00 sent to AK., AZ., CA., CO., HI.,
  516. ID., MT., OR., NV., NM., UT., WA., WY. and US Virgin Islands.
  517. </p>
  518. <p style="text-align: left; font-size: 11pt; font-family: Tahoma, serif;">
  519. The shipping charge includes shipping, handling and insurance.&nbsp; If your package is
  520. being sent to Canada or out of the country, additional postage is required.
  521. </p>
  522. </td>
  523. </tr>
  524. </table>
  525. </div>
  526. </form>
  527. </div>
  528. {% endblock %}