@@ 1194-1205 (lines=12) @@ | ||
1191 | ||
1192 | ||
1193 | ||
1194 | protected function saveQuantityIncMonth($quantity) |
|
1195 | { |
|
1196 | require_once dirname(__FILE__).'/increment_agent_right.class.php'; |
|
1197 | ||
1198 | $increment = new absences_IncrementAgentRight(); |
|
1199 | $increment->id_user_right = $this->id; |
|
1200 | $increment->quantity = $quantity; |
|
1201 | $increment->createdOn = date('Y-m-d H:i:s'); |
|
1202 | $increment->monthkey = date('Ym'); |
|
1203 | ||
1204 | $increment->saveOrUpdate(); |
|
1205 | } |
|
1206 | ||
1207 | ||
1208 | /** |
@@ 628-639 (lines=12) @@ | ||
625 | ||
626 | ||
627 | ||
628 | protected function saveQuantityIncMonth($quantity) |
|
629 | { |
|
630 | require_once dirname(__FILE__).'/increment_right.class.php'; |
|
631 | ||
632 | $increment = new absences_IncrementRight(); |
|
633 | $increment->id_right = $this->id; |
|
634 | $increment->quantity = $quantity; |
|
635 | $increment->createdOn = date('Y-m-d H:i:s'); |
|
636 | $increment->monthkey = date('Ym'); |
|
637 | ||
638 | $increment->saveOrUpdate(); |
|
639 | } |
|
640 | ||
641 | ||
642 |