Project-Pier / ProjectPier-Core

ProjectPier is a Free, Open-Source, PHP application for managing tasks, projects and teams through an intuitive web interface.
http://www.projectpier.org
GNU Affero General Public License v3.0
37 stars 16 forks source link

Tasks PDF report revamped #19

Closed Engelbert closed 9 years ago

Engelbert commented 9 years ago

The tasks PDF report was not looking too bad. But IMO it could be better and easier to read. Below you can find a screenshot, I could use some comments, remarks, tips on this one. screenshot from 2015-01-14 16 42 39 I have all the working code on my testserver so if you :+1: it I can make a Pull request in no time :smile:

JonDeG commented 9 years ago

I think it looks really good! Only feedback I can think of is to check how it works when spanning multiple pages and whether the name is the "username" or "display name". I think it should be "display name" if it isn't already.

Engelbert commented 9 years ago

Name displayed for the user is:

$task_assignee = $task->getAssignedTo()->getObjectName();

Spanning multiple pages is kind of hard to do proper. For now the cells with the info rollover just fine, but the cell with the description breaks into two pieces and does not roll to the next page. I'll post a screenie later today.

The footer is the same for every PDF report.

EDIT: screenie as promised. I can put every task list on a separate page, no drama's there. Rolling complete cell's to the next page is kinda hard but doable if I rewrite it from scratch... That's for the future I guess... screenshot from 2015-01-15 13 56 53