Исправлена валидация формы заказа услуги - поля теперь правильно передаются и проверяются
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-11-26 21:42:09 +09:00
parent 991a9b104e
commit 10846519e3
2 changed files with 7 additions and 7 deletions

View File

@@ -420,9 +420,9 @@ document.addEventListener('DOMContentLoaded', function() {
// Prepare data for QR code generation
const serviceId = document.getElementById('serviceId').value;
const clientData = {
client_name: formData.get('name'),
client_email: formData.get('email'),
client_phone: formData.get('phone'),
client_name: formData.get('name')
client_phone: formData.get('phone')
};
// Submit to QR code generation endpoint
@@ -788,8 +788,8 @@ textarea {
<input type="email" class="form-control" id="clientEmail" name="email" required>
</div>
<div class="col-md-6">
<label for="clientPhone" class="form-label">Телефон</label>
<input type="tel" class="form-control" id="clientPhone" name="phone">
<label for="clientPhone" class="form-label">Телефон *</label>
<input type="tel" class="form-control" id="clientPhone" name="phone" required>
</div>
<div class="col-md-6">
<label for="clientCompany" class="form-label">Компания</label>