Fixed for Gantt Chart error.

Fixed for Gant Chart error.

Fixed for Gantt Chart error.
Fix remaining effort set to zero when closed on a different day
Merge dev_mirror