. The jobs will send mails to students, whose Anrechnungen were
approved/rejected the last day.
. Removed former sendMailToStudent functions from Controllers.
Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
. Now more "Empfehlungs"-data shown in a table.
. Better separation of PHP / JS.
. Adapted Controller, View, JS and library to provide data about WHEN and
TO WHOME the requests for recommendation had been sent.
Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
This method retrieves the Anrechnungstatusbezeichnung in the users language.
It is used multiple times -> moved to library.
Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
Fixed: method getData in Controller was producing wrong returning message.
Fixed by removing, as library is returning boolean value now.
Adapted few error functions to be more generic and bilingual.
Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
After refactoring code to apply via AJAX call, required fields
have to be direclty validated in JS or on serversite. Now fixed by
checking on serversite.
Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
After refactoring the code and doing the application via AJAX call, the
document-download-link must be created on ajax success. This was missing
and is fixed now.
Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
Now, if approvment is withdrawn, the recommendation button is enabled again
ONLY if no recommendation was submitted until yet.
Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
When Detail Views were opened within the same browser window, individual
filters of the overview site were lost when returning to the overview.
Fixed by opening detail views in new tab.
Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
. Now application is done via AJAX call.
. Now messages are returned to user instead of hard exits.
. Now formatting status on client side, not on serverside.
Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
Before student could apply for past study semester, which should not be
possible. Fixed now.
Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
Adapted STGL and lectors views to change the filename on download event.
All download functions moved from view to library.
Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
Requested recommendations can now be withdrawn.
Now a button 'Zurücknehmen' is displayed as long as the Anrechnung
is processed by the lector and only as long the lector has not provided
a recommendation.
Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
+ belonging adaptations in JS:
. removed e.preventDefault as no longer needed with button type=button
. removed empty text value settings with button type=reset
Signed-off-by: cris-technikum <hainberg@technikum-wien.at>