Code Duplication    Length = 8-8 lines in 2 locations

programs/utilit/workperiod_recover_request.class.php 1 location

@@ 408-415 (lines=8) @@
405
	}
406
	
407
	
408
	public function getNotifyFields()
409
	{
410
		return array(
411
			absences_translate('From') 	=> bab_shortDate(bab_mktime($this->date_begin)),
412
			absences_translate('Until')	=> bab_shortDate(bab_mktime($this->date_end)),
413
			absences_translate('Quantity') 	=> absences_quantity($this->quantity, $this->quantity_unit)
414
		);
415
	}
416
	
417
	
418
	

programs/utilit/entry.class.php 1 location

@@ 1781-1788 (lines=8) @@
1778
	}
1779
1780
1781
	public function getNotifyFields()
1782
	{
1783
		return array(
1784
			absences_translate('From') 		=> bab_shortDate(bab_mktime($this->date_begin)),
1785
			absences_translate('Until')		=> bab_shortDate(bab_mktime($this->date_end)),
1786
			absences_translate('Quantity') 	=> absences_quantity($this->getTotalDays(), 'D')
1787
		);
1788
	}
1789
1790
1791
	public function getYear()