@@ 677-681 (lines=5) @@ | ||
674 | $I = new absences_EntryIterator(); |
|
675 | $I->archived = null; |
|
676 | ||
677 | if (!isset($date) || '0000-00-00' === $date) { |
|
678 | $I->status = $status; |
|
679 | } else { |
|
680 | $I->createdOn = $date.' 23:59:59'; |
|
681 | } |
|
682 | ||
683 | $I->users = array($this->id_user); |
|
684 | $I->id_right = $this->id_right; |
|
@@ 728-732 (lines=5) @@ | ||
725 | require_once dirname(__FILE__).'/cet_deposit_request.class.php'; |
|
726 | $I = new absences_CetDepositRequestIterator(); |
|
727 | ||
728 | if (!isset($date) || '0000-00-00' === $date) { |
|
729 | $I->status = $status; |
|
730 | } else { |
|
731 | $I->createdOn = $date.' 23:59:59'; |
|
732 | } |
|
733 | ||
734 | $I->archived = null; |
|
735 | $I->users = array($this->id_user); |