Code Duplication    Length = 9-9 lines in 2 locations

programs/utilit/workperiod_recover_request.ui.php 1 location

@@ 222-230 (lines=9) @@
219
	 * 
220
	 * @return Widget_VBoxLayout
221
	 */
222
	protected function period()
223
	{
224
		$W = bab_Widgets();
225
	
226
		return $W->VBoxItems(
227
				$W->Label(absences_translate('Worked period')),
228
				$W->FlowItems($this->date_begin(), $this->date_end())
229
		)->setVerticalSpacing(1,'em');
230
	}
231
	
232
	
233
	protected function date_begin()

programs/utilit/right.ui.php 1 location

@@ 834-842 (lines=9) @@
831
	 * Interface for FIXED right
832
	 * @return Widget_VBoxLayout
833
	 */
834
	protected function fixed()
835
	{
836
		$W = bab_Widgets();
837
		
838
		return $W->VBoxItems(
839
			$W->Label(absences_translate('This vacation period will be set for all right beneficiaries')),
840
			$W->FlowItems($this->beginfx(), $this->endfx())	
841
		)->setVerticalSpacing(1,'em');
842
	}
843
	
844
	
845