@pisell/private-materials 6.12.301 → 6.12.302
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +2 -2
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +2 -2
- package/es/plus/invoice/OrderInvoice.less +1 -0
- package/es/plus/invoice/ReceiptRenderer.js +1 -1
- package/lib/plus/invoice/OrderInvoice.less +1 -0
- package/lib/plus/invoice/ReceiptRenderer.js +1 -1
- package/package.json +4 -4
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
h4,
|
|
18
18
|
strong,
|
|
19
19
|
span,
|
|
20
|
+
.pisell-sale-detail-invoice__receipt-product-main > div,
|
|
20
21
|
.pisell-sale-detail-invoice__receipt-brand > div,
|
|
21
22
|
.pisell-sale-detail-invoice__receipt-payment-notice-title,
|
|
22
23
|
.pisell-sale-detail-invoice__receipt-payment-notice-summary,
|
|
@@ -207,7 +207,7 @@ function ProductDetails({ locale, product, secondaryLocale, config }) {
|
|
|
207
207
|
const productTotal = getReceiptProductTotal(product);
|
|
208
208
|
const primaryRows = buildProductDetailRows(product, quantity, locale, 1, false, true, config);
|
|
209
209
|
const detailRows = secondaryLocale && product.secondary ? mergeTranslatedRows(primaryRows, buildProductDetailRows(product.secondary, quantity, secondaryLocale, 1, false, false, config), locale, secondaryLocale, true) : primaryRows;
|
|
210
|
-
return /* @__PURE__ */ React.createElement("div", { className: `${PREFIX}__receipt-product` }, /* @__PURE__ */ React.createElement("div", { className: `${PREFIX}__receipt-product-main` }, /* @__PURE__ */ React.createElement("
|
|
210
|
+
return /* @__PURE__ */ React.createElement("div", { className: `${PREFIX}__receipt-product` }, /* @__PURE__ */ React.createElement("div", { className: `${PREFIX}__receipt-product-main` }, /* @__PURE__ */ React.createElement("div", null, quantity, " x ", productDisplayTitle(product), quantity > 1 && product.selling_price ? ` (${product.selling_price} each)` : "", product.secondary && productDisplayTitle(product.secondary) !== productDisplayTitle(product) ? /* @__PURE__ */ React.createElement("span", { className: `${PREFIX}__receipt-translation` }, productDisplayTitle(product.secondary)) : null), /* @__PURE__ */ React.createElement("div", null, productTotal)), detailRows.map((row, index) => /* @__PURE__ */ React.createElement("div", {
|
|
211
211
|
className: `${PREFIX}__receipt-product-detail`,
|
|
212
212
|
key: `${row.item}-${row.value}-${index}`,
|
|
213
213
|
style: {
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
h4,
|
|
18
18
|
strong,
|
|
19
19
|
span,
|
|
20
|
+
.pisell-sale-detail-invoice__receipt-product-main > div,
|
|
20
21
|
.pisell-sale-detail-invoice__receipt-brand > div,
|
|
21
22
|
.pisell-sale-detail-invoice__receipt-payment-notice-title,
|
|
22
23
|
.pisell-sale-detail-invoice__receipt-payment-notice-summary,
|
|
@@ -210,7 +210,7 @@ function ProductDetails({ locale, product, secondaryLocale, config }) {
|
|
|
210
210
|
const productTotal = require_receipt.getReceiptProductTotal(product);
|
|
211
211
|
const primaryRows = buildProductDetailRows(product, quantity, locale, 1, false, true, config);
|
|
212
212
|
const detailRows = secondaryLocale && product.secondary ? require_receiptTranslations.mergeTranslatedRows(primaryRows, buildProductDetailRows(product.secondary, quantity, secondaryLocale, 1, false, false, config), locale, secondaryLocale, true) : primaryRows;
|
|
213
|
-
return /* @__PURE__ */ react.default.createElement("div", { className: `${PREFIX}__receipt-product` }, /* @__PURE__ */ react.default.createElement("div", { className: `${PREFIX}__receipt-product-main` }, /* @__PURE__ */ react.default.createElement("
|
|
213
|
+
return /* @__PURE__ */ react.default.createElement("div", { className: `${PREFIX}__receipt-product` }, /* @__PURE__ */ react.default.createElement("div", { className: `${PREFIX}__receipt-product-main` }, /* @__PURE__ */ react.default.createElement("div", null, quantity, " x ", productDisplayTitle(product), quantity > 1 && product.selling_price ? ` (${product.selling_price} each)` : "", product.secondary && productDisplayTitle(product.secondary) !== productDisplayTitle(product) ? /* @__PURE__ */ react.default.createElement("span", { className: `${PREFIX}__receipt-translation` }, productDisplayTitle(product.secondary)) : null), /* @__PURE__ */ react.default.createElement("div", null, productTotal)), detailRows.map((row, index) => /* @__PURE__ */ react.default.createElement("div", {
|
|
214
214
|
className: `${PREFIX}__receipt-product-detail`,
|
|
215
215
|
key: `${row.item}-${row.value}-${index}`,
|
|
216
216
|
style: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "6.12.
|
|
3
|
+
"version": "6.12.302",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -72,10 +72,10 @@
|
|
|
72
72
|
"styled-components": "^6.0.0-rc.3",
|
|
73
73
|
"use-sync-external-store": "^1.6.0",
|
|
74
74
|
"@pisell/pi-payment-sdk": "0.0.3",
|
|
75
|
-
"@pisell/materials": "6.12.78",
|
|
76
75
|
"@pisell/utils": "3.0.7",
|
|
77
|
-
"@pisell/
|
|
78
|
-
"@pisell/icon": "0.0.11"
|
|
76
|
+
"@pisell/materials": "6.12.78",
|
|
77
|
+
"@pisell/icon": "0.0.11",
|
|
78
|
+
"@pisell/date-picker": "3.0.12"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
81
|
"react": "^18.0.0",
|