brook 3 년 전
부모
커밋
c1edad6647
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      common/helpers/bonus/Calc/BaseBusiness.php

+ 2 - 2
common/helpers/bonus/Calc/BaseBusiness.php

@@ -73,8 +73,8 @@ class BaseBusiness
     public function getMonthsForQuarterly()
     {
         $startTime  = strtotime(date('Y') . '0101');
-        $calcMonth1 = date("Ym", strtotime('+' . ($this->_calcMonth - 1) . ' month', $startTime));
-        $calcMonth2 = date("Ym", strtotime('+' . ($this->_calcMonth - 2) . ' month', $startTime));
+        $calcMonth1 = date('Ym', strtotime('+' . ($this->_calcMonth - 1) . ' month', $startTime));
+        $calcMonth2 = date('Ym', strtotime('+' . ($this->_calcMonth - 2) . ' month', $startTime));
         return [$calcMonth1, $calcMonth2];
     }
 }