DmitrMakeev commited on
Commit
b1ebde7
1 Parent(s): d30ce5e

Update data_gc_tab.html

Browse files
Files changed (1) hide show
  1. data_gc_tab.html +19 -15
data_gc_tab.html CHANGED
@@ -291,21 +291,25 @@ return link + `<img src="${imageUrl3}" alt="WhatsApp" style="width: 98px; height
291
 
292
  {title:"Город", field:"b_city", width:95},
293
  {title:"Email", field:"email", width:95},
294
- {title:"Реплики", field:"b_mess", width:95, cellClick:function(e, cell){
295
- var data = cell.getData();
296
- Swal.fire({
297
- title: 'Детали пользователя',
298
- html: `
299
- <strong>Имя:</strong> ${data.name}<br>
300
- <strong>WhatsApp:</strong> <a href="https://web.whatsapp.com/send?phone=${data.phone}" target="_blank">${data.phone}</a><br>
301
- <strong>Реплики:</strong> ${data.b_mess}`,
302
- icon: 'success',
303
- confirmButtonText: 'Закрыть',
304
- confirmButtonColor: '#4CAF50',
305
- customClass: {
306
- confirmButton: 'button is-success',
307
- title: 'title-custom',
308
- content: 'content-custom'}});}},
 
 
 
 
309
 
310
  {title:"Куратор", field:"curator", formatter: linkFormatter},
311
  {title:"Статус покупки", field:"shop_st", formatter: function(cell, formatterParams, onRendered) {
 
291
 
292
  {title:"Город", field:"b_city", width:95},
293
  {title:"Email", field:"email", width:95},
294
+ {title:"Реплики", field:"b_mess", width:95, cellClick:function(e, cell){
295
+ var data = cell.getData();
296
+ Swal.fire({
297
+ title: 'Детали пользователя',
298
+ html: `
299
+ <strong>Имя:</strong> ${data.name}<br>
300
+ <strong>WhatsApp:</strong> <a href="https://web.whatsapp.com/send?phone=${data.phone}" target="_blank">${data.phone}</a><br>
301
+ <strong>Реплики:</strong> ${data.b_mess}
302
+ `,
303
+ icon: 'success',
304
+ confirmButtonText: 'Закрыть',
305
+ confirmButtonColor: '#4CAF50',
306
+ customClass: {
307
+ confirmButton: 'button is-success',
308
+ title: 'title-custom',
309
+ content: 'content-custom'
310
+ }
311
+ });
312
+ }},
313
 
314
  {title:"Куратор", field:"curator", formatter: linkFormatter},
315
  {title:"Статус покупки", field:"shop_st", formatter: function(cell, formatterParams, onRendered) {