@salesgenterp/ui-components 0.4.299 → 0.4.300
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/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -305,7 +305,7 @@ var API_STATUSES = Object.freeze({
|
|
|
305
305
|
});
|
|
306
306
|
var DATE_FORMATS = {
|
|
307
307
|
DEFAULT_DATE_TIME_FORMAT: 'YYYY-MM-DD HH:mm:ss',
|
|
308
|
-
TIMESTAMP_FORMAT: '
|
|
308
|
+
TIMESTAMP_FORMAT: 'DD MMM YY hh:mm A',
|
|
309
309
|
LIST_DATE_TIME_FORMAT: 'YYYY-MM-DD hh:mm A',
|
|
310
310
|
DEFAULT_DATE_FORMAT: 'YYYY-MM-DD',
|
|
311
311
|
TIME: 'hh:mm:ss A'
|
|
@@ -10208,7 +10208,7 @@ var Step4 = function Step4(_ref) {
|
|
|
10208
10208
|
var _temp2 = function () {
|
|
10209
10209
|
if (checked) {
|
|
10210
10210
|
var _temp = function (_customer$customerDto) {
|
|
10211
|
-
if (taxExempt && customer !== null && customer !== void 0 && (_customer$customerDto = customer.customerDto) !== null && _customer$customerDto !== void 0 && _customer$customerDto.taxable && shippingMethod !== null && shippingMethod !== void 0 && shippingMethod.id) {
|
|
10211
|
+
if (taxExempt && !(customer !== null && customer !== void 0 && (_customer$customerDto = customer.customerDto) !== null && _customer$customerDto !== void 0 && _customer$customerDto.taxable) && shippingMethod !== null && shippingMethod !== void 0 && shippingMethod.id) {
|
|
10212
10212
|
setOpenConsentForm(true);
|
|
10213
10213
|
} else {
|
|
10214
10214
|
return Promise.resolve(placeOrder(comments)).then(function () {});
|