Open gsteimer opened 9 years ago
So this is based on a freemarker template(Since freemarker is the easiest way to convert from json format to html which Itext needs to build a pdf), in the freemarker template we assign classes to each row. One class has a grey color, one has white, basically all we'd have to do is in the freemarker template change the order the classes alternate, and this should work.
This should be super simple, but the alternating colors look good having dark first on the summary page:
But look weird on the PDF:
Perhaps in the PDF, we should start with no color on the first row?