programs/vacadmb.php 1 location
|
@@ 538-546 (lines=9) @@
|
| 535 |
|
if( $quant == '' ) |
| 536 |
|
$quant = $arr['right_quantity']; |
| 537 |
|
|
| 538 |
|
switch($arr['quantity_unit']) |
| 539 |
|
{ |
| 540 |
|
case 'D': |
| 541 |
|
$this->unit = absences_translate('day(s)'); |
| 542 |
|
break; |
| 543 |
|
case 'H': |
| 544 |
|
$this->unit = absences_translate('hour(s)'); |
| 545 |
|
break; |
| 546 |
|
} |
| 547 |
|
|
| 548 |
|
$this->quantity_available = $quant - $qdp; |
| 549 |
|
$i++; |
programs/vacuser.php 1 location
|
@@ 1068-1077 (lines=10) @@
|
| 1065 |
|
$this->no_approval = !((bool) $right->require_approval); |
| 1066 |
|
|
| 1067 |
|
|
| 1068 |
|
switch($this->right['quantity_unit']) |
| 1069 |
|
{ |
| 1070 |
|
case 'D': |
| 1071 |
|
$this->unit = absences_translate('day(s)'); |
| 1072 |
|
break; |
| 1073 |
|
|
| 1074 |
|
case 'H': |
| 1075 |
|
$this->unit = absences_translate('hour(s)'); |
| 1076 |
|
break; |
| 1077 |
|
} |
| 1078 |
|
|
| 1079 |
|
|
| 1080 |
|
$float_quantity = 0.0; |