|
@@ 834-845 (lines=12) @@
|
| 831 |
|
|
| 832 |
|
|
| 833 |
|
|
| 834 |
|
protected function beginfx() |
| 835 |
|
{ |
| 836 |
|
$W = bab_Widgets(); |
| 837 |
|
$date = $W->DatePicker()->setMandatory(true)->setName('datebeginfx'); |
| 838 |
|
$hours = $W->Select()->setName('hourbeginfx')->setOptions(absences_hoursList()); |
| 839 |
|
|
| 840 |
|
return $W->FlowItems( |
| 841 |
|
$W->Label(absences_translate('from date'))->setAssociatedWidget($date), |
| 842 |
|
$date, |
| 843 |
|
$hours |
| 844 |
|
)->setSpacing(.5,'em'); |
| 845 |
|
} |
| 846 |
|
|
| 847 |
|
|
| 848 |
|
protected function endfx() |
|
@@ 848-859 (lines=12) @@
|
| 845 |
|
} |
| 846 |
|
|
| 847 |
|
|
| 848 |
|
protected function endfx() |
| 849 |
|
{ |
| 850 |
|
$W = bab_Widgets(); |
| 851 |
|
$date = $W->DatePicker()->setMandatory(true)->setName('dateendfx'); |
| 852 |
|
$hours = $W->Select()->setName('hourendfx')->setOptions(absences_hoursList()); |
| 853 |
|
|
| 854 |
|
return $W->FlowItems( |
| 855 |
|
$W->Label(absences_translate('to date'))->setAssociatedWidget($date), |
| 856 |
|
$date, |
| 857 |
|
$hours |
| 858 |
|
)->setSpacing(.5,'em'); |
| 859 |
|
} |
| 860 |
|
|
| 861 |
|
|
| 862 |
|
protected function inc_month() |