programs/utilit/agent_right.ui.php 1 location
|
@@ 99-108 (lines=10) @@
|
| 96 |
|
/** |
| 97 |
|
* |
| 98 |
|
*/ |
| 99 |
|
protected function movement_comment() |
| 100 |
|
{ |
| 101 |
|
$W = bab_Widgets(); |
| 102 |
|
|
| 103 |
|
return $W->LabelledWidget( |
| 104 |
|
absences_translate('Comment on modification for history'), |
| 105 |
|
$W->TextEdit()->setLines(2)->setMandatory(true, absences_translate('The comment is mandatory'))->addClass('widget-fullwidth'), |
| 106 |
|
__FUNCTION__ |
| 107 |
|
); |
| 108 |
|
} |
| 109 |
|
|
| 110 |
|
|
| 111 |
|
|
programs/utilit/archive.ui.php 1 location
|
@@ 85-94 (lines=10) @@
|
| 82 |
|
|
| 83 |
|
|
| 84 |
|
|
| 85 |
|
protected function comment() |
| 86 |
|
{ |
| 87 |
|
$W = bab_Widgets(); |
| 88 |
|
|
| 89 |
|
return $W->LabelledWidget( |
| 90 |
|
absences_translate('Comment'), |
| 91 |
|
$W->TextEdit()->setColumns(60)->setLines(4), |
| 92 |
|
__FUNCTION__ |
| 93 |
|
); |
| 94 |
|
} |
| 95 |
|
|
| 96 |
|
|
| 97 |
|
|
programs/utilit/cet_deposit_request.ui.php 2 locations
|
@@ 173-182 (lines=10) @@
|
| 170 |
|
|
| 171 |
|
|
| 172 |
|
|
| 173 |
|
protected function comment() |
| 174 |
|
{ |
| 175 |
|
$W = bab_Widgets(); |
| 176 |
|
|
| 177 |
|
return $W->LabelledWidget( |
| 178 |
|
absences_translate('Comment'), |
| 179 |
|
$W->TextEdit()->setColumns(60)->setLines(4), |
| 180 |
|
__FUNCTION__ |
| 181 |
|
); |
| 182 |
|
} |
| 183 |
|
|
| 184 |
|
|
| 185 |
|
protected function quantity() |
|
@@ 335-344 (lines=10) @@
|
| 332 |
|
|
| 333 |
|
|
| 334 |
|
|
| 335 |
|
protected function comment2() |
| 336 |
|
{ |
| 337 |
|
$W = bab_Widgets(); |
| 338 |
|
|
| 339 |
|
return $W->LabelledWidget( |
| 340 |
|
absences_translate('Approver comment'), |
| 341 |
|
$W->TextEdit()->setColumns(60)->setLines(5), |
| 342 |
|
__FUNCTION__ |
| 343 |
|
); |
| 344 |
|
} |
| 345 |
|
|
| 346 |
|
|
| 347 |
|
|
programs/utilit/workperiod_recover_request.ui.php 2 locations
|
@@ 206-215 (lines=10) @@
|
| 203 |
|
|
| 204 |
|
|
| 205 |
|
|
| 206 |
|
protected function comment() |
| 207 |
|
{ |
| 208 |
|
$W = bab_Widgets(); |
| 209 |
|
|
| 210 |
|
return $W->LabelledWidget( |
| 211 |
|
absences_translate('Reason for the request'), |
| 212 |
|
$W->TextEdit()->setColumns(80)->setLines(5)->setMandatory(true, absences_translate('The reason is mandatory')), |
| 213 |
|
__FUNCTION__ |
| 214 |
|
); |
| 215 |
|
} |
| 216 |
|
|
| 217 |
|
|
| 218 |
|
/** |
|
@@ 457-466 (lines=10) @@
|
| 454 |
|
} |
| 455 |
|
|
| 456 |
|
|
| 457 |
|
protected function comment2() |
| 458 |
|
{ |
| 459 |
|
$W = bab_Widgets(); |
| 460 |
|
|
| 461 |
|
return $W->LabelledWidget( |
| 462 |
|
absences_translate('Approver comment'), |
| 463 |
|
$W->TextEdit()->setColumns(80)->setLines(5), |
| 464 |
|
__FUNCTION__ |
| 465 |
|
); |
| 466 |
|
} |
| 467 |
|
|
| 468 |
|
|
| 469 |
|
|
programs/utilit/agent.ui.php 1 location
|
@@ 889-902 (lines=14) @@
|
| 886 |
|
|
| 887 |
|
|
| 888 |
|
|
| 889 |
|
protected function addFields() |
| 890 |
|
{ |
| 891 |
|
$W = bab_Widgets(); |
| 892 |
|
|
| 893 |
|
|
| 894 |
|
$this->addItem($W->LabelledWidget( |
| 895 |
|
absences_translate('Email to notify when a vacation request is accepted (other than me)'), |
| 896 |
|
$W->TextEdit()->setColumns(80)->setLines(2), |
| 897 |
|
'emails', |
| 898 |
|
absences_translate('Comma separated values') |
| 899 |
|
)); |
| 900 |
|
|
| 901 |
|
|
| 902 |
|
} |
| 903 |
|
|
| 904 |
|
|
| 905 |
|
|
programs/utilit/right.ui.php 1 location
|
@@ 1345-1352 (lines=8) @@
|
| 1342 |
|
} |
| 1343 |
|
|
| 1344 |
|
|
| 1345 |
|
protected function addFields() |
| 1346 |
|
{ |
| 1347 |
|
$W = bab_Widgets(); |
| 1348 |
|
|
| 1349 |
|
$this->addItem($W->LabelledWidget(absences_translate('Grant the right by using the group'), $W->GroupPicker(), 'group')); |
| 1350 |
|
|
| 1351 |
|
$this->addItem($W->LabelledWidget(absences_translate('Use the group and his childen'), $W->Checkbox(), 'tree')); |
| 1352 |
|
} |
| 1353 |
|
|
| 1354 |
|
|
| 1355 |
|
protected function addButtons() |