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

@@ 1799-1806 (lines=8) @@
1796
	}
1797
1798
1799
	public function getNotifyFields()
1800
	{
1801
		return array(
1802
			absences_translate('From') 		=> bab_shortDate(bab_mktime($this->date_begin)),
1803
			absences_translate('Until')		=> bab_shortDate(bab_mktime($this->date_end)),
1804
			absences_translate('Quantity') 	=> absences_quantity($this->getTotalDays(), 'D')
1805
		);
1806
	}
1807
1808
1809
	public function getYear()