kui-crm 0.0.141 → 0.0.143

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/cjs/index.js CHANGED
@@ -952,6 +952,14 @@ var setNestedNameValue = function (fieldName, value, data) {
952
952
  return obj;
953
953
  };
954
954
 
955
+ var getInspectionFeedbackStatus = function (feedback) {
956
+ if (!feedback.signed)
957
+ return "notSigned";
958
+ if (feedback.agree)
959
+ return "signed";
960
+ return "rejected";
961
+ };
962
+
955
963
  var useAutocomplete = function (filter, paginator, fetchAll, isOpen, defaultFilter, withoutRequest, deps) {
956
964
  React.useEffect(function () {
957
965
  if (defaultFilter)
@@ -4145,6 +4153,7 @@ exports.genderMatches = genderMatches;
4145
4153
  exports.getApartmentDetailInfoFields = getApartmentDetailInfoFields;
4146
4154
  exports.getApartmentPaymentFields = getApartmentPaymentFields;
4147
4155
  exports.getFillingInfoFields = getFillingInfoFields;
4156
+ exports.getInspectionFeedbackStatus = getInspectionFeedbackStatus;
4148
4157
  exports.getMeterFeaturesFieldsSchema = getMeterFeaturesFieldsSchema;
4149
4158
  exports.getMeterFields = getMeterFields;
4150
4159
  exports.getNumbersValues = getNumbersValues;