removed duplicate stock out list filtering code
removed unnecessary global flag set after save.
removed redundant call to isStockCountDue.
corrected bi-weekly stock count date calculation.
corrected bi-weekly stock count date calculation.
removed logs and reformatted test code.