Before the number of params was overflowing POST param limitation of 1000.
Now data is json stringified on clientside to pack all data in only one
string. Adaptations were done also on serverside.
The new line in concatinated groups was causing extra lines in
excel file and messing the structure.
Also adapted download status title to enable correct data import of
csv text file.
Some selections/filters were not selecting/filtering correctly out the
dummy lectors OR filtering out Betreuung.
It needs: personalnummer >= 0
. > to ensure no dummies
. = to retrieve also Betreuungen
(where personalnummer is provided with NULL)
New:
. tabulator footer with
- buttons Alle auswählen/abwählen
- display number of selected rows
- CSV download
. filter buttons
- accept-button now initially activated and focused, toggle on click
- now as buttongroup in extra row
New:
. tabulator footer with
- buttons Alle auswählen/abwählen
- display number of selected rows
- CSV download
. filter buttons
- approve-button now initially activated and focused, toggle on click
- now as buttongroup in extra row
. Lehrauftrag erteilen - button disabled when filter on dummies
New:
. tabulator footer with
- buttons Alle auswählen/abwählen
- display number of selected rows
- CSV download
. filter buttons
- order-button now initially activated and focused, toggle on click
- now as buttongroup in extra row
. Lehrauftrag bestellen - button disabled when filter on dummies
Now header filter parses the given filterstring.
If it starts with a comparison operator it will be used for comparison.
Otherwise just compare the stringnumbers to be equal.
Setting png icons is a workaround to use font-awsome 5.9.0 icons
until system can be updated to newer font awsome version.
Changed for filter/status buttons:
. ordered
. approved
. changed
PNG icons are used in status- and filter buttons
Setting png icons is a workaround to use font-awsome 5.9.0 icons
until system can be updated to newer font awsome version.
. added tooltips on bestellt-, erteilt- and akzeptiert-column with
insertvon information
. adapted tooltips on status column
. added columns to all tabulator queries and to the filters
Now the status icon and row formats are refreshed directly after the
bestell-/erteil-/akzeptieren-button was clicked.
Returning and updating vertrag_betrag in tabulator rows is needed to
detect when geaenderte have been updated and enable correct formatting.
. standardized tooltip text
. geaenderte Lehrauftraege: bold in bestellen (selectable),
marked orange and not selectable in erteilen and akzeptieren
. removed parseFloat (not needed, now better perfomance)
. better var names for readability reasons
III: Same as for orderLehrauftrag is here adapted to acceptLehrauftrag:
. MOVED out function from datasetRepFieldDefs to javascript for better
maintainance
. Added status column and status icons with tooltips
. Added status buttons to filter status rapidly
. Rows formatting enhanced and bootstrapped
. day of date now with 2 digits
. Added hidden columns with vertragsdata to erteilt- and akzeptiert-
tabulator tables. This is to be able to detect where contract were
changed and mark/disable that lehrauftrag.
. Adapted filter
. Columns lehrveranstaltung-orgform_kurzbz and -semester are now visible
in all tabulator-tables in bestellen - erteilen - akzeptieren.
. Renamed names of auftraege (no need to display semester text anymore)
. Adapted filter
II: Same as for orderLehrauftrag is here adapted to approveLehrauftrag:
. MOVED out function from datasetRepFieldDefs to javascript for better
maintainance
. Added status column and status icons with tooltips
. Added status buttons to filter status rapidly
. GroupBy Lehrveranstaltung: rows are grouped by LV, formatted
. Added calculation per group AND total
. Rows formatting enhanced and bootstrapped
. Fixed selection of data
. day of date now with 2 digits
. MOVED out function from datasetRepFieldDefs to javascript for better
maintainance
. Added status column and status icons with tooltips
. Added status buttons to filter status rapidly
. GroupBy Lehrveranstaltung: rows are grouped by LV, formatted
. Added calculation per group AND total
. Rows formatting enhanced and bootstrapped
. Fixed selection of data
. day of date now with 2 digits
Updates Vertrag and, if resets vertragsstatus as follows:
- if vertragsstatus 'erteilt': delete status 'erteilt' and
update date of status 'bestellt'
- if vertragsstatus 'bestellt': update date of status 'bestellt'
If a contract already exist and there is a difference between the
origin contract betrag and the lehrauftrag/projektbetreuer-betrag (after
FAS changes), the contract is updated.