Fix: Correct bind_param type strings for date fields in trip processor

This commit is contained in:
twotalesanimation
2025-12-04 17:26:05 +02:00
parent 5a2c48f343
commit bfb3a0f8a9
2 changed files with 44 additions and 18 deletions

View File

@@ -184,11 +184,13 @@ if ($trip_id) {
}, 2000);
} else {
$('#responseMessage').html('<div class="alert alert-danger">' + response.message + '</div>');
console.error('Server error:', response.message);
}
},
error: function(xhr, status, error) {
console.log('Error:', error);
$('#responseMessage').html('<div class="alert alert-danger">Error creating/updating trip</div>');
console.log('AJAX Error:', error);
console.log('Response:', xhr.responseText);
$('#responseMessage').html('<div class="alert alert-danger">Error creating/updating trip: ' + error + '</div>');
}
});
});