added sales closed period by reporting period plot loop