mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-29 14:48:26 +00:00
[fix] check doc.has_website_permission in order.html
This commit is contained in:
@@ -17,7 +17,7 @@ $(function() {
|
||||
|
||||
$.extend(shopping_cart, {
|
||||
update_cart: function(opts) {
|
||||
if(!full_name) {
|
||||
if(!full_name || full_name==="Guest") {
|
||||
if(localStorage) {
|
||||
localStorage.setItem("last_visited", window.location.pathname);
|
||||
localStorage.setItem("pending_add_to_cart", opts.item_code);
|
||||
|
||||
Reference in New Issue
Block a user