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

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