|
@@ -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;
|