deisy 6 rokov pred
rodič
commit
917274a417
1 zmenil súbory, kde vykonal 10 pridanie a 0 odobranie
  1. 10 0
      static/src/js/reports/report_crm_partners.js

+ 10 - 0
static/src/js/reports/report_crm_partners.js

@@ -713,6 +713,7 @@ function report_crm_partners(reporting) {
       var source = self.$el.find('#current-source').val();
       var campaign = self.$el.find('#current-campaign').val();
       var city = self.$el.find('#current-city').val();
+      var tag = self.$el.find('#current-tag').val();
 
       var filter = [];
 
@@ -777,6 +778,15 @@ function report_crm_partners(reporting) {
           value: CrmTrackingCampaign[0].name,
         });
       }
+      if (tag && tag != 9999999) {
+        var CrmCaseCateg = _.filter(self.CrmCaseCateg, function(item) {
+          return item.id == tag;
+        });
+        filter.push({
+          title: 'Etiquetas',
+          value: CrmCaseCateg[0].name,
+        });
+      }
       if (city && city != 9999999) {
         var ResCountryState = _.filter(self.ResCountryState, function(item) {
           return item.id == city;