|
@@ 318-324 (lines=7) @@
|
| 315 |
|
$workperiod->quantity_unit = $values['quantity_unit']; |
| 316 |
|
$workperiod->validity_end = $W->DatePicker()->getISODate($values['validity_end']); |
| 317 |
|
|
| 318 |
|
if (isset($values['confirm'])) |
| 319 |
|
{ |
| 320 |
|
$workperiod->approbationNext(true, $values['comment2']); |
| 321 |
|
} else if (isset($values['refuse'])) |
| 322 |
|
{ |
| 323 |
|
$workperiod->approbationNext(false, $values['comment2']); |
| 324 |
|
} |
| 325 |
|
|
| 326 |
|
$workperiod->notifyOwner(); |
| 327 |
|
$workperiod->notifyApprovers(); |
|
@@ 439-446 (lines=8) @@
|
| 436 |
|
|
| 437 |
|
$deposit->quantity = $cet['quantity']; |
| 438 |
|
|
| 439 |
|
if (isset($cet['confirm'])) |
| 440 |
|
{ |
| 441 |
|
$deposit->approbationNext(true, $cet['comment2']); |
| 442 |
|
|
| 443 |
|
} else if (isset($cet['refuse'])) |
| 444 |
|
{ |
| 445 |
|
$deposit->approbationNext(false, $cet['comment2']); |
| 446 |
|
} |
| 447 |
|
|
| 448 |
|
$deposit->notifyOwner(); |
| 449 |
|
$deposit->notifyApprovers(); |