mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
[cart] create quotation on checkout
This commit is contained in:
@@ -201,5 +201,13 @@ $.extend(wn.cart, {
|
||||
|
||||
update_display: function() {
|
||||
$(".cart-count").text("( " + wn.cart.get_count() + " )");
|
||||
},
|
||||
|
||||
set_value_in_cart: function(item_code, fieldname, value) {
|
||||
var cart = this.get_cart();
|
||||
if(cart[item_code]) {
|
||||
cart[item_code][fieldname] = value;
|
||||
this.set_cart(cart);
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user