Update data_gc_tab.html
Browse files- data_gc_tab.html +20 -22
 
    	
        data_gc_tab.html
    CHANGED
    
    | 
         @@ -29,10 +29,12 @@ 
     | 
|
| 29 | 
         | 
| 30 | 
         | 
| 31 | 
         | 
| 32 | 
         
            -
            <!-- Подключение стилей  
     | 
| 33 | 
         
            -
            <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ 
     | 
| 34 | 
         
            -
             
     | 
| 35 | 
         
            -
             
     | 
| 
         | 
|
| 
         | 
|
| 36 | 
         | 
| 37 | 
         
             
                <style>
         
     | 
| 38 | 
         
             
                    body {
         
     | 
| 
         @@ -277,24 +279,20 @@ 
     | 
|
| 277 | 
         
             
                                    {title:"Email", field:"email", width:110},
         
     | 
| 278 | 
         
             
            {title:"Реплики", field:"b_mess", width:95, cellClick:function(e, cell){
         
     | 
| 279 | 
         
             
                var data = cell.getData();
         
     | 
| 280 | 
         
            -
                 
     | 
| 281 | 
         
            -
             
     | 
| 282 | 
         
            -
             
     | 
| 283 | 
         
            -
             
     | 
| 284 | 
         
            -
             
     | 
| 285 | 
         
            -
             
     | 
| 286 | 
         
            -
             
     | 
| 287 | 
         
            -
                     
     | 
| 288 | 
         
            -
             
     | 
| 289 | 
         
            -
             
     | 
| 290 | 
         
            -
             
     | 
| 291 | 
         
            -
             
     | 
| 292 | 
         
            -
             
     | 
| 293 | 
         
            -
             
     | 
| 294 | 
         
            -
                        content: 'content-custom'
         
     | 
| 295 | 
         
            -
                    }
         
     | 
| 296 | 
         
            -
                });
         
     | 
| 297 | 
         
            -
            }},                     
         
     | 
| 298 | 
         
             
                                    {title:"Куратор", field:"curator", formatter: linkFormatter},  
         
     | 
| 299 | 
         
             
                                    {title:"Статус покупки", field:"shop_st", formatter: function(cell, formatterParams, onRendered) {
         
     | 
| 300 | 
         
             
                                        var status = cell.getValue();
         
     | 
| 
         | 
|
| 29 | 
         | 
| 30 | 
         | 
| 31 | 
         | 
| 32 | 
         
            +
            <!-- Подключение стилей Notyf -->
         
     | 
| 33 | 
         
            +
            <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/notyf/notyf.min.css">
         
     | 
| 34 | 
         
            +
             
     | 
| 35 | 
         
            +
            <!-- Подключение скрипта Notyf -->
         
     | 
| 36 | 
         
            +
            <script src="https://cdn.jsdelivr.net/npm/notyf/notyf.min.js"></script>
         
     | 
| 37 | 
         
            +
             
     | 
| 38 | 
         | 
| 39 | 
         
             
                <style>
         
     | 
| 40 | 
         
             
                    body {
         
     | 
| 
         | 
|
| 279 | 
         
             
                                    {title:"Email", field:"email", width:110},
         
     | 
| 280 | 
         
             
            {title:"Реплики", field:"b_mess", width:95, cellClick:function(e, cell){
         
     | 
| 281 | 
         
             
                var data = cell.getData();
         
     | 
| 282 | 
         
            +
                var notyf = new Notyf(); // Создаем новый экземпляр Notyf
         
     | 
| 283 | 
         
            +
             
     | 
| 284 | 
         
            +
                // Формируем текст сообщения
         
     | 
| 285 | 
         
            +
                var message = `
         
     | 
| 286 | 
         
            +
                    Имя: ${data.name}\n
         
     | 
| 287 | 
         
            +
                    WhatsApp: ${data.phone}\n
         
     | 
| 288 | 
         
            +
                    Реплики: ${data.b_mess}\n
         
     | 
| 289 | 
         
            +
                    ${data.user_link ? `Ссылка: ${data.user_link}` : ''}
         
     | 
| 290 | 
         
            +
                `;
         
     | 
| 291 | 
         
            +
             
     | 
| 292 | 
         
            +
                // Выводим сообщение в виде уведомления
         
     | 
| 293 | 
         
            +
                notyf.success(message);
         
     | 
| 294 | 
         
            +
            }},
         
     | 
| 295 | 
         
            +
                                 
         
     | 
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 296 | 
         
             
                                    {title:"Куратор", field:"curator", formatter: linkFormatter},  
         
     | 
| 297 | 
         
             
                                    {title:"Статус покупки", field:"shop_st", formatter: function(cell, formatterParams, onRendered) {
         
     | 
| 298 | 
         
             
                                        var status = cell.getValue();
         
     |