From 65bce5a642924195483d5133903cbc65a4318e1e Mon Sep 17 00:00:00 2001 From: WASRUSGEN Date: Sat, 30 May 2026 13:10:30 +0300 Subject: [PATCH] feat: contact collection with consent, SQLite on VPS, phone/Telegram in reminder picker --- mockup.html | 47 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/mockup.html b/mockup.html index 100202f..9a22fbf 100644 --- a/mockup.html +++ b/mockup.html @@ -8182,6 +8182,9 @@ function _showReminderPicker(doc, contractType, intent) { { label: 'Через неделю', val: _dateOffset(7, 9) }, ]; + var savedContact = ''; + try { var b2b = JSON.parse(localStorage.getItem('zashita_b2b')||'null'); if(b2b&&b2b.phone) savedContact=b2b.phone; } catch(e){} + var div = document.createElement('div'); div.className = 'hc-msg hc-elena'; div.innerHTML = @@ -8190,6 +8193,17 @@ function _showReminderPicker(doc, contractType, intent) { '
' + 'Хорошо! Когда напомнить загрузить ' + doc.label + '?' + '
' + + // Поле контакта + '
' + + '
📲 Куда прислать напоминание?
' + + '' + + '' + + '
' + '
' + dates.map(function(d){ return '