Changed script paths of cookie and axios and changes in order details and orders
Dieser Commit ist enthalten in:
+38
-2
@@ -5,6 +5,7 @@ let order_itemtotal =window.localStorage.getItem('orderitemTotal');
|
||||
let order_nettotal =window.localStorage.getItem('netTotal');
|
||||
let order_qty = window.localStorage.getItem('Qty')
|
||||
let order_tax = window.localStorage.getItem('tax')
|
||||
let order_img_src =window.localStorage.getItem('imgsrc')
|
||||
let Local_keys_update =['tax','Qty','netTotal','orderitemTotal']
|
||||
let summary =` <div class="card-body">
|
||||
<div>
|
||||
@@ -12,10 +13,45 @@ let summary =` <div class="card-body">
|
||||
<p class="mb-0 fs-6">Order placed on ${current_orderDate}</p>
|
||||
<p class="mb-0 fs-9">Paid by Credit Card</p>
|
||||
</div>`;
|
||||
$('.order_price').html(order_itemtotal)
|
||||
|
||||
let deliverdCard=`<div class="card-body">
|
||||
<div class="row align-items-center mb-md-4">
|
||||
<div class="col-md-6">
|
||||
<div class="d-flex">
|
||||
<img src="" class="img-fluid"/>
|
||||
<div>
|
||||
<span class="fs-5">Delivered</span>
|
||||
<span class="text-secondary fs-9">Shipment 1 / 5-1 item (1 Delivered)</span>
|
||||
</div>
|
||||
</div>
|
||||
<div> <span class="text-secondary fs-9">Delivered on Sunday, 9 March <span class="text-a-color">Invoice</span></span></div>
|
||||
</div>
|
||||
<div class="col-md-6 text-end">
|
||||
<button class="btn btn-order-text bg-return">SUPPPORT</button>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<span class="text-secondary fs-9 d-none">Shipping to</span>
|
||||
<p class="fs-5 fw-600 user_name">Ashok Kumar</p>
|
||||
</div>
|
||||
<div class="row pb-md-0 pb-4">
|
||||
<div class="col-md-4 text-center">
|
||||
<img src="${order_img_src}" class="img-fluid order_img"/>
|
||||
</div>
|
||||
<div class="col-md-8 position-relative">
|
||||
<p class="mb-0 fs-6 order_itemname">${order_itemname}</p>
|
||||
<p class="mb-3 fs-6 fw-600 d-flex align-items-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-currency-rupee" viewBox="0 0 16 16">
|
||||
<path d="M4 3.06h2.726c1.22 0 2.12.575 2.325 1.724H4v1.051h5.051C8.855 7.001 8 7.558 6.788 7.558H4v1.317L8.437 14h2.11L6.095 8.884h.855c2.316-.018 3.465-1.476 3.688-3.049H12V4.784h-1.345c-.08-.778-.357-1.335-.793-1.732H12V2H4v1.06Z"></path>
|
||||
</svg><span class="order_price">${order_itemtotal}</span>
|
||||
</p>
|
||||
<p class="mb-0 fs-6 position-absolute close_exchange">Return/Exchange window closed on Friday,24 March <a href="#" class="text-primary">Why?</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>`
|
||||
$('.deliverd-card').append(deliverdCard)
|
||||
$('.order_tax').html(order_tax)
|
||||
$('.Order_total').html(order_nettotal)
|
||||
$('.order_itemname').html(order_itemname)
|
||||
$('.order-summary').html(summary);
|
||||
$('.back_to_orders').click(function(){
|
||||
debugger
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren