first sync
Some checks failed
Deployment Verification / deploy-and-test (push) Failing after 29s

This commit is contained in:
2025-03-04 07:59:21 +01:00
parent 9cdcf486b6
commit 506716e703
1450 changed files with 577316 additions and 62 deletions

View File

@@ -0,0 +1,22 @@
<script>
function submit_new_customer() {
$.ajax({
url: '/customer/add',
type: "POST",
data: $('form#form_new_customer').serialize(),
dataType: "json",
success: function (data) {
jsdata = data;
if (jsdata.status == "success") {
$('#modal_add_customer').modal();
notify_success(jsdata.message);
} else {
$('#modal_customer_message').text(jsdata.message);
}
},
error: function (error) {
notify_error(error);
}
});
}
</script>