A QCodo powered CMS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
2.0 KiB

  1. <div class="PrintAction button">
  2. <a href="javascript:window.print()">
  3. <?php print Quinta::Translate('Print'); ?>
  4. </a>
  5. </div>
  6. <div id="ConfirmationMessage">
  7. <?php $_CONTROL->lblMessage->Render(); ?>
  8. </div>
  9. <div class="spacer"></div>
  10. <hr>
  11. <div class="spacer"></div>
  12. <?php print '<div class="heading">' . Quinta::Translate('Order Summary') . ':</div>'; ?>
  13. <div class="spacer"></div>
  14. <div class="CheckOutItemList">
  15. <table>
  16. <thead>
  17. <tr>
  18. <!-- the extra div is to fix a QCodo quirk .. -->
  19. <div></div>
  20. <th><?php print Quinta::Translate('Product'); ?></th>
  21. <th><?php print Quinta::Translate('Item Price'); ?></th>
  22. <th><?php print Quinta::Translate('Quantity'); ?></th>
  23. <th><?php print Quinta::Translate('Item Total'); ?></th>
  24. </tr>
  25. </thead>
  26. <tbody>
  27. <?php
  28. //a quickie fake datagrid list .. Note: the CheckOutItemControllers are in <TD>s
  29. ///@todo - change this to a smart datagrid, configurable ..
  30. $blnAlternate = false;
  31. foreach($_CONTROL->aryCheckOutItemControllers as $objItemView)
  32. {
  33. if($blnAlternate)
  34. {
  35. print '<tr class="alternate">';
  36. $blnAlternate = false;
  37. }
  38. else
  39. {
  40. print '<tr>';
  41. $blnAlternate = true;
  42. }
  43. $objItemView->Render();
  44. print "</tr> \n";
  45. }
  46. ?>
  47. </tbody>
  48. </table>
  49. </div>
  50. <?php $_CONTROL->objOrderTotalsController->Render(); ?>
  51. <div class="spacer"></div>
  52. <hr>
  53. <div class="spacer"></div>
  54. <?php $_CONTROL->objBillingAddressController->Render(); ?>
  55. <?php if($_CONTROL->pnlPaymentMethod)
  56. {
  57. $_CONTROL->pnlPaymentMethod->Render();
  58. // print '<div class="spacer"></div><hr><div class="spacer"></div>';
  59. } ?>
  60. <div class="spacer"></div>
  61. <hr>
  62. <div class="spacer"></div>
  63. <?php $_CONTROL->objShippingAddressController->Render(); ?>
  64. <?php if($_CONTROL->pnlShippingMethod)
  65. {
  66. $_CONTROL->pnlShippingMethod->Render();
  67. } ?>
  68. <div class="spacer"></div>
  69. <hr>
  70. <div class="spacer"></div>