mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
fix issue when you approve holidays from massaction it does not set date approval (#34231)
This commit is contained in:
@@ -1631,6 +1631,8 @@ if (!$error && ($massaction == 'approveleave' || ($action == 'approveleave' && $
|
||||
|
||||
$objecttmp->date_valid = dol_now();
|
||||
$objecttmp->fk_user_valid = $user->id;
|
||||
$objecttmp->date_approval = dol_now();
|
||||
$objecttmp->fk_user_approve = $user->id;
|
||||
$objecttmp->status = Holiday::STATUS_APPROVED;
|
||||
$objecttmp->statut = $objecttmp->status; // deprecated
|
||||
|
||||
|
||||
Reference in New Issue
Block a user