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

@@ 1793-1800 (lines=8) @@
1790
	}
1791
1792
1793
	public function getNotifyFields()
1794
	{
1795
		return array(
1796
			absences_translate('From') 		=> bab_shortDate(bab_mktime($this->date_begin)),
1797
			absences_translate('Until')		=> bab_shortDate(bab_mktime($this->date_end)),
1798
			absences_translate('Quantity') 	=> absences_quantity($this->getTotalDays(), 'D')
1799
		);
1800
	}
1801
1802
1803
	public function getYear()