upgradesummary.tpl.bak 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {*
  2. **********************************************************
  3. * Developed by: Team Theme Metro
  4. * Website: http://www.thememetro.com
  5. **********************************************************
  6. *}
  7. <div class="card">
  8. <div class="card-body">
  9. <div class="alert alert-block alert-info text-center">
  10. {lang key='upgradecurrentconfig'}: <strong>{$groupname} - {$productname}</strong>{if $domain} ({$domain}){/if}
  11. </div>
  12. <table class="table table-striped">
  13. <thead>
  14. <tr>
  15. <th width="60%">{lang key='orderdesc'}</th>
  16. <th width="40%" class="text-center">{lang key='orderprice'}</th>
  17. </tr>
  18. </thead>
  19. <tbody>
  20. {foreach $upgrades as $upgrade}
  21. {if $type eq "package"}
  22. <tr>
  23. <td><input type="hidden" name="pid" value="{$upgrade.newproductid}" /><input type="hidden" name="billingcycle" value="{$upgrade.newproductbillingcycle}" />{$upgrade.oldproductname} => {$upgrade.newproductname}</td>
  24. <td class="text-center">{$upgrade.price}</td>
  25. </tr>
  26. {elseif $type eq "configoptions"}
  27. <tr>
  28. <td>{$upgrade.configname}: {$upgrade.originalvalue} => {$upgrade.newvalue}</td>
  29. <td class="text-center">{$upgrade.price}</td>
  30. </tr>
  31. {/if}
  32. {/foreach}
  33. <tr class="masspay-total">
  34. <td class="text-right">{lang key='ordersubtotal'}:</td>
  35. <td class="text-center">{$subtotal}</td>
  36. </tr>
  37. {if $taxrate}
  38. <tr class="masspay-total">
  39. <td class="text-right">{$taxname} @ {$taxrate}%:</td>
  40. <td class="text-center">{$tax}</td>
  41. </tr>
  42. {/if}
  43. {if $taxrate2}
  44. <tr class="masspay-total">
  45. <td class="text-right">{$taxname2} @ {$taxrate2}%:</td>
  46. <td class="text-center">{$tax2}</td>
  47. </tr>
  48. {/if}
  49. <tr class="masspay-total">
  50. <td class="text-right">{lang key='ordertotalduetoday'}:</td>
  51. <td class="text-center">{$total}</td>
  52. </tr>
  53. </tbody>
  54. </table>
  55. {if $type eq "package" && $curbillingcycle ne "free"}
  56. {include file="$template/includes/alert.tpl" type="warning" msg="{lang key='upgradeproductlogic'} ({$upgrade.daysuntilrenewal} {lang key='days'})" textcenter=true}
  57. {/if}
  58. {if $type eq "configoptions"}
  59. {include file="$template/includes/alert.tpl" type="warning" msg="{lang key='upgradeoptionlogic' productname=$productname }" textcenter=true}
  60. {/if}
  61. <div class="row">
  62. <div class="col-sm-6">
  63. <form method="post" action="{$smarty.server.PHP_SELF}">
  64. <input type="hidden" name="step" value="3" />
  65. <input type="hidden" name="type" value="{$type}" />
  66. <input type="hidden" name="id" value="{$id}" />
  67. {if $type eq "package"}
  68. <input type="hidden" name="pid" value="{$upgrades.0.newproductid}" />
  69. <input type="hidden" name="billingcycle" value="{$upgrades.0.newproductbillingcycle}" />
  70. {/if}
  71. {foreach $configoptions as $cid => $value}
  72. <input type="hidden" name="configoption[{$cid}]" value="{$value}" />
  73. {/foreach}
  74. <h5>{lang key='orderpaymentmethod'}</h5>
  75. <div class="form-group">
  76. <select name="paymentmethod" id="inputPaymentMethod" class="form-control custom-select">
  77. {if $allowgatewayselection}
  78. <option value="none">{lang key='paymentmethoddefault'}</option>
  79. {/if}
  80. {foreach $gateways as $gateway}
  81. <option value="{$gateway.sysname}"{if $gateway.sysname eq $selectedgateway} selected="selected"{/if}>{$gateway.name}</option>
  82. {/foreach}
  83. </select>
  84. </div>
  85. </div>
  86. </div>
  87. <div class="form-actions text-center">
  88. <button type="submit" class="btn btn-primary" id="btnOrderContinue">
  89. {lang key='continue'} <i class="fas fa-arrow-right"></i>
  90. </button>
  91. </div>
  92. </form>
  93. </div>
  94. </div>