@lancom/shared 0.0.272 → 0.0.274
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/assets/js/api/admin.js
CHANGED
|
@@ -167,6 +167,9 @@ export default {
|
|
|
167
167
|
sendOrderRefundRequest(order, refund, shop) {
|
|
168
168
|
return _post(`shop/${shop}/order/${order}/refund/${refund}/send`);
|
|
169
169
|
},
|
|
170
|
+
generateRefundInvoice(order, refund, shop) {
|
|
171
|
+
return _post(`shop/${shop}/order/${order}/refund/${refund}/invoice`);
|
|
172
|
+
},
|
|
170
173
|
chargeOrderRefund(order, refund, shop) {
|
|
171
174
|
return _post(`shop/${shop}/order/${order}/refund/${refund}/charge`);
|
|
172
175
|
},
|
package/feeds/google-shopping.js
CHANGED
|
@@ -102,7 +102,7 @@ async function googleShoppingFeed(axios, config, availableStores) {
|
|
|
102
102
|
info['g:shipping_width'] = { _text: `${parseInt(product.volume.width)} cm` };
|
|
103
103
|
}
|
|
104
104
|
if (product.volume.height) {
|
|
105
|
-
info['g:shipping_height'] = { _text: `${parseInt(product.volume.height * (sp.multipackQty || 1))} cm` };
|
|
105
|
+
info['g:shipping_height'] = { _text: `${parseInt(+product.volume.height * (+sp.multipackQty || 1)) || 1} cm` };
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
|