Code Duplication    Length = 9-9 lines in 2 locations

programs/utilit/right.ui.php 1 location

@@ 821-829 (lines=9) @@
818
	 * Interface for FIXED right
819
	 * @return Widget_VBoxLayout
820
	 */
821
	protected function fixed()
822
	{
823
		$W = bab_Widgets();
824
		
825
		return $W->VBoxItems(
826
			$W->Label(absences_translate('This vacation period will be set for all right beneficiaries')),
827
			$W->FlowItems($this->beginfx(), $this->endfx())	
828
		)->setVerticalSpacing(1,'em');
829
	}
830
	
831
	
832
	

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()