Commit 47d06eac authored by Deep Dey's avatar Deep Dey

feat: add session year in frontend

parent fda74718
const BASE_URL_LAMARTIN = 'https://adm.lamartiniere.co/webomagic-lamartin';
\ No newline at end of file
const BASE_URL_LAMARTIN = 'https://adm.lamartiniere.co/webomagic-lamartin';
const SESSION_YEAR = '2026-2027';
\ No newline at end of file
......@@ -251,6 +251,8 @@ $(document).ready(function () {
$('.btn-text').css('display', 'none');
$('#btn-sumbit').prop('disabled', true);
formData.append('sessionYear', SESSION_YEAR);
$.ajax({
// TODO: move the url to a constant file
url: BASE_URL_LAMARTIN + '/admission-form/submit',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment