feat: (wip) Toggle Views

- Auto Height on Cards
- Title with ellipses on length exceed
- Changed namepaces
- Moved product card rendering to JS
- Added Image and List View Toggling buttons
- Kept basic filters rendering just as before
This commit is contained in:
marination
2021-05-13 01:22:05 +05:30
parent f9929ed8a6
commit 48b3ce82b9
15 changed files with 224 additions and 117 deletions

View File

@@ -247,7 +247,7 @@ class ItemConfigure {
const additional_notes = Object.keys(this.range_values || {}).map(attribute => {
return `${attribute}: ${this.range_values[attribute]}`;
}).join('\n');
erpnext.shopping_cart.update_cart({
e_commerce.shopping_cart.update_cart({
item_code,
additional_notes,
qty: 1