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.

40 lines
1.3 KiB

13 years ago
  1. <div class="OrderTotalsView">
  2. <?php
  3. if( $_CONTROL->ShowTitle)
  4. print '<div class="heading">' . Quasi::Translate('Order Summary') . ':</div>';
  5. ?>
  6. <div class="OrderTotalsList">
  7. <table>
  8. <?php
  9. print '<tr><td>' . Quasi::Translate('Subtotal') . '</td><td>';
  10. $_CONTROL->lblSubTotal->Render();
  11. print "</td></tr>\n";
  12. if( '' != $_CONTROL->lblShipping->Text )
  13. {
  14. print '<tr><td>' . Quasi::Translate('Shipping') . '</td><td>';
  15. $_CONTROL->lblShipping->Render();
  16. print "</td></tr>\n";
  17. }
  18. if( '' != $_CONTROL->lblHandling->Text )
  19. {
  20. print '<tr><td>' . Quasi::Translate('Handling') . '</td><td>';
  21. $_CONTROL->lblHandling->Render();
  22. }
  23. if( '' != $_CONTROL->lblTax->Text )
  24. {
  25. print '<tr><td>' . Quasi::Translate('Tax') . '</td><td>';
  26. $_CONTROL->lblTax->Render();
  27. print "</td></tr>\n";
  28. }
  29. print '<tr><td colspan="2"><hr></td></tr>';
  30. print '<tr><td><strong>' . Quasi::Translate('Grand Total') . '</strong></td><td>';
  31. $_CONTROL->lblGrandTotal->Render();
  32. print "</td></tr>\n";
  33. ?>
  34. </table>
  35. </div>
  36. </div>