Open zak-hassan opened 10 years ago
Okay I'm gonna draw out a plan for generating this. Validation will be required however we can do that next.
This report is now generated on the UI. If you'd like me to make those boxes on the bottom, just add that data to the List and I'll generate it in Javascript
It would be nice to be able to select the faculty member via drop down and semester then the datatable would automatically update.
This wouldn't work because the server is sending back a single faculty's swift report for a semester year. Unless you mean to say I should make many get requests as the fields change, which is possible, but not really wise.
No I'm saying lets say we make it based on the URL:
?faculty_id=1&semester=1&year=14
It should list all the swift objects. What do you think?
The URL you are proposing wouldn't list all swift objects anyways.
why not??? Take a look at the screen shot of what a swift looks like.
The screenshot is a single swift.
The URL you are proposing would get a swift report for a faculty member in a semester year, which is what it is already doing. By specifying faculty, semester and year you are getting one swift.
A faculty member only has one swift report for a semester year, correct? What would be the point of a list?
Okay if that is the case then I fine with this.
Using Jasper report we need to generate the following report: