Fixed a layout issue in the shift detail and fixed a bug in the shift detail.
Fixed the page calculation on the dail summary report.