@@ 378-388 (lines=11) @@ | ||
375 | } |
|
376 | ||
377 | ||
378 | protected function computed_quantity() |
|
379 | { |
|
380 | $W = bab_Widgets(); |
|
381 | ||
382 | $type = $this->workperiod->getType(); |
|
383 | ||
384 | return $W->VBoxItems( |
|
385 | $W->Label(absences_translate('Computed quantity on period'))->colon()->addClass('widget-strong'), |
|
386 | $W->Label(absences_quantity($this->workperiod->getComputedDuration(), $type->quantity_unit)) |
|
387 | ); |
|
388 | } |
|
389 | ||
390 | ||
391 | /** |
|
@@ 446-454 (lines=9) @@ | ||
443 | ||
444 | ||
445 | ||
446 | protected function duration() |
|
447 | { |
|
448 | $W = bab_Widgets(); |
|
449 | ||
450 | return $W->VBoxItems( |
|
451 | $W->Label(absences_translate('Computed duration'))->colon(), |
|
452 | $W->Label(absences_quantity($this->workperiod->getComputedDuration(), $this->workperiod->getType()->quantity_unit)) |
|
453 | ); |
|
454 | } |
|
455 | ||
456 | ||
457 | protected function comment2() |