Skip to content

Commit ba97787

Browse files
Merge pull request #81 from vtex-apps/B2BTEAM-3051
feat(quotes): add unitMultiplier logic and adjust sellingPrice to sho…
2 parents fab0a22 + 7ad3183 commit ba97787

33 files changed

Lines changed: 243 additions & 61 deletions

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Added
11+
12+
- add unitMultiplier logic and adjust sellingPrice to show unit price
13+
1014
## [3.0.3] - 2025-10-16
1115
### Fixed
1216
- Skip graphl query if parameter is null

manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"vtex.css-handles": "0.x",
2828
"vtex.format-currency": "0.x",
2929
"vtex.my-account": "1.x",
30-
"vtex.my-account-commons": "1.x"
30+
"vtex.my-account-commons": "1.x",
31+
"vtex.catalog-graphql": "1.x"
3132
},
3233
"registries": [
3334
"smartcheckout"

messages/ar.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"store/b2b-quotes.quote-details.items.refId.title": "الرمز المرجعي",
7171
"store/b2b-quotes.quote-details.items.name.title": "الإسم",
7272
"store/b2b-quotes.quote-details.items.quantity.title": "الكمية",
73+
"store/b2b-quotes.quote-details.items.unitMultiplier.title": "وحدة متعددة",
7374
"store/b2b-quotes.quote-details.items.price.title": "السعر",
7475
"store/b2b-quotes.quote-details.items.total.title": "المجموع",
7576
"store/b2b-quotes.quote-details.apply-discount.title": "تطبيق خصم النسبة المئوية",

messages/bg.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"store/b2b-quotes.quote-details.items.refId.title": "Реф. код",
7171
"store/b2b-quotes.quote-details.items.name.title": "Име",
7272
"store/b2b-quotes.quote-details.items.quantity.title": "Количество",
73+
"store/b2b-quotes.quote-details.items.unitMultiplier.title": "Множител",
7374
"store/b2b-quotes.quote-details.items.price.title": "Цена",
7475
"store/b2b-quotes.quote-details.items.total.title": "Общо",
7576
"store/b2b-quotes.quote-details.apply-discount.title": "Прилагане на процентна отстъпка",

messages/ca.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"store/b2b-quotes.quote-details.items.refId.title": "Codi de la referència",
7171
"store/b2b-quotes.quote-details.items.name.title": "Nom",
7272
"store/b2b-quotes.quote-details.items.quantity.title": "Quantitat",
73+
"store/b2b-quotes.quote-details.items.unitMultiplier.title": "U. Mult.",
7374
"store/b2b-quotes.quote-details.items.price.title": "Preu",
7475
"store/b2b-quotes.quote-details.items.total.title": "Total",
7576
"store/b2b-quotes.quote-details.apply-discount.title": "Aplica el percentatge de descompte",

messages/context.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"store/b2b-quotes.quote-details.items.refId.title": "Ref. Code",
7171
"store/b2b-quotes.quote-details.items.name.title": "Name",
7272
"store/b2b-quotes.quote-details.items.quantity.title": "Quantity",
73+
"store/b2b-quotes.quote-details.items.unitMultiplier.title": "Unit Mult.",
7374
"store/b2b-quotes.quote-details.items.price.title": "Price",
7475
"store/b2b-quotes.quote-details.items.total.title": "Total",
7576
"store/b2b-quotes.quote-details.apply-discount.title": "Apply Percentage Discount",

messages/cs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"store/b2b-quotes.quote-details.items.refId.title": "Referenční kód",
7171
"store/b2b-quotes.quote-details.items.name.title": "Název",
7272
"store/b2b-quotes.quote-details.items.quantity.title": "Množství",
73+
"store/b2b-quotes.quote-details.items.unitMultiplier.title": "Násob.",
7374
"store/b2b-quotes.quote-details.items.price.title": "Cena",
7475
"store/b2b-quotes.quote-details.items.total.title": "Celkem",
7576
"store/b2b-quotes.quote-details.apply-discount.title": "Uplatnit procentuální slevu",

messages/da.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"store/b2b-quotes.quote-details.items.refId.title": "Ref. kode",
7171
"store/b2b-quotes.quote-details.items.name.title": "Navn",
7272
"store/b2b-quotes.quote-details.items.quantity.title": "Antal",
73+
"store/b2b-quotes.quote-details.items.unitMultiplier.title": "Enhed Mult.",
7374
"store/b2b-quotes.quote-details.items.price.title": "Pris",
7475
"store/b2b-quotes.quote-details.items.total.title": "I alt",
7576
"store/b2b-quotes.quote-details.apply-discount.title": "Anvend rabat i procent",

messages/de.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"store/b2b-quotes.quote-details.items.refId.title": "Ref. Code",
7171
"store/b2b-quotes.quote-details.items.name.title": "Name",
7272
"store/b2b-quotes.quote-details.items.quantity.title": "Menge",
73+
"store/b2b-quotes.quote-details.items.unitMultiplier.title": "Einh. Mult.",
7374
"store/b2b-quotes.quote-details.items.price.title": "Preis",
7475
"store/b2b-quotes.quote-details.items.total.title": "Gesamt",
7576
"store/b2b-quotes.quote-details.apply-discount.title": "Prozentsatz-Rabatt anwenden",

messages/el.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"store/b2b-quotes.quote-details.items.refId.title": "Κωδικός Αναφοράς",
7171
"store/b2b-quotes.quote-details.items.name.title": "Όνομα",
7272
"store/b2b-quotes.quote-details.items.quantity.title": "Ποσότητα",
73+
"store/b2b-quotes.quote-details.items.unitMultiplier.title": "Πολ. Μον.",
7374
"store/b2b-quotes.quote-details.items.price.title": "Τιμή",
7475
"store/b2b-quotes.quote-details.items.total.title": "Σύνολο",
7576
"store/b2b-quotes.quote-details.apply-discount.title": "Εφαρμογή ποσοστού έκπτωσης",

0 commit comments

Comments
 (0)