DmitrMakeev commited on
Commit
56f7792
1 Parent(s): 90d842e

Update data_gc_tab.html

Browse files
Files changed (1) hide show
  1. data_gc_tab.html +5 -1
data_gc_tab.html CHANGED
@@ -124,7 +124,11 @@
124
  {title:"utm_campaign", field:"pr3"},
125
  {title:"utm_term", field:"pr4"},
126
  {title:"utm_content", field:"pr5"},
127
- {title:"Cсылка на пользователя в GC", field:"ad_url"}
 
 
 
 
128
  ],
129
  });
130
  })
 
124
  {title:"utm_campaign", field:"pr3"},
125
  {title:"utm_term", field:"pr4"},
126
  {title:"utm_content", field:"pr5"},
127
+ {title:"Cсылка на пользователя в GC", field:"ad_url"},
128
+ {title:"Ссылка на WhatsApp", field:"phone", formatter: function(cell, formatterParams, onRendered) {
129
+ var phone = cell.getValue();
130
+ return `<a href="https://api.whatsapp.com/send?phone=${phone}&text=" target="_blank">${phone}</a>`;
131
+ }}
132
  ],
133
  });
134
  })