A Qcodo based CMS/ecommerce framework
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.5 KiB

12 years ago
  1. <div class="PrintAction button">
  2. <a href="javascript:window.print()">
  3. <?php print Quasi::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">' . Quasi::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 Quasi::Translate('Product'); ?></th>
  21. <th><?php print Quasi::Translate('Item Price'); ?></th>
  22. <th><?php print Quasi::Translate('Quantity'); ?></th>
  23. <th><?php print Quasi::Translate('Item Total'); ?></th>
  24. </tr>
  25. </thead>
  26. <tbody>
  27. <?php
  28. //a quickie fake datagrid list .. Note: the CheckOutItemViews are in <TD>s
  29. ///@todo - change this to a smart datagrid, configurable ..
  30. $blnAlternate = false;
  31. foreach($_CONTROL->aryCheckOutItemViews 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->objOrderTotalsView->Render(); ?>
  51. <div class="spacer"></div>
  52. <hr>
  53. <div class="spacer"></div>
  54. <?php $_CONTROL->objBillingAddressView->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->objShippingAddressView->Render(); ?>
  64. <?php if($_CONTROL->pnlShippingMethod)
  65. {
  66. $_CONTROL->pnlShippingMethod->Render();
  67. } ?>
  68. <div class="spacer"></div>
  69. <hr>
  70. <div class="spacer"></div>