@optimiser/common 1.0.313 → 1.0.314
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/lib/utility.js +7 -0
- package/package.json +1 -1
package/dist/lib/utility.js
CHANGED
|
@@ -2138,6 +2138,13 @@ function FilterConditions(condition, match, fields) {
|
|
|
2138
2138
|
var _loop_13 = function (i) {
|
|
2139
2139
|
var _a, _b, _c;
|
|
2140
2140
|
var obj = condition.Filters[i];
|
|
2141
|
+
if (condition.DateFormat) {
|
|
2142
|
+
obj.DateFormat = condition.DateFormat;
|
|
2143
|
+
}
|
|
2144
|
+
if (condition.FiscalFrom || condition.FiscalMonth) {
|
|
2145
|
+
obj.FiscalFrom = condition.FiscalFrom;
|
|
2146
|
+
obj.FiscalMonth = condition.FiscalMonth;
|
|
2147
|
+
}
|
|
2141
2148
|
if (obj.Type == "Child") {
|
|
2142
2149
|
var childMatch = {};
|
|
2143
2150
|
sets.push(childMatch);
|