-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsuccess.php
40 lines (39 loc) · 1.52 KB
/
success.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php include 'includes/header.php'; ?>
<!-- Page info -->
<div class="container" style="margin-top: 30px;">
<div class="page-top-info">
<div class="breadcrumb"> <a href="index.html">Home </a> » <a href="success.php">Success </a> </div>
<div class="section-title">
<h3><span>Order Success</span></h3>
</div>
</div>
</div>
<!-- Page info end -->
<!-- checkout section -->
<section class="success-section spad col-md-6">
<div class="container">
<?php
$cmrId = Session::get("cmrId");
$amount = $ct->payableAmount($cmrId);
if ($amount) {
$sum = 0;
$total = 0;
while ($result = $amount->fetch_assoc()) {
$price = $result['due_amount'];
$sub_total = $sum + $price;
$total +=$sub_total;
$V_Total = $total + 60;
?>
<h4 style="text-align:center; text-transform: uppercase;">Success</h4>
<hr>
<h5 style="color: green;">Your Order has been successfully placed!</h5>
<br>
<p>Total Payable Amount(Including Shipping Cost) :
<strong>TK. <?= $V_Total ?> </strong>
</p>
<p style="color: red">Thanks for Purchase. Receive Your Order Successfully. We will contact you ASAP with delivery details. Here is your order details....<a href="order_history.php">Click here.</a></p>
<?php } } ?>
</div>
</section>
<!-- checkout section end -->
<?php include 'includes/footer.php'; ?>