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

@@ 2133-2140 (lines=8) @@
2130
	}
2131
2132
2133
	public function getNotifyFields()
2134
	{
2135
		return array(
2136
			absences_translate('From') 		=> bab_shortDate(bab_mktime($this->date_begin)),
2137
			absences_translate('Until')		=> bab_shortDate(bab_mktime($this->date_end)),
2138
			absences_translate('Quantity') 	=> absences_quantity($this->getTotalDays(), 'D')
2139
		);
2140
	}
2141
2142
2143
	public function getYear()