mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-08 15:51:19 +00:00
[webshop] Place Order - submits Quotation, creates Customer if required, creates and submits Sales Order
This commit is contained in:
@@ -95,6 +95,8 @@ $(document).ready(function() {
|
||||
$("#user-full-name").text(full_name);
|
||||
}
|
||||
|
||||
wn.cart.set_cart_count();
|
||||
|
||||
$("#user-tools a").tooltip({"placement":"bottom"});
|
||||
$("#user-tools-post-login a").tooltip({"placement":"bottom"});
|
||||
});
|
||||
@@ -212,8 +214,16 @@ $.extend(wn.cart, {
|
||||
callback: function(r) {
|
||||
if(opts.callback)
|
||||
opts.callback(r);
|
||||
|
||||
wn.cart.set_cart_count();
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
set_cart_count: function() {
|
||||
var cart_count = getCookie("cart_count");
|
||||
if(cart_count)
|
||||
$(".cart-count").html("( "+ cart_count +" )")
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user