dolibarr 21.0.0-alpha
card_group.php File Reference

Form and file creation of paid holiday. More...

Go to the source code of this file.

Functions

if(is_object( $db)) sendMail ($id, $cancreate, $now, $autoValidation)
 send email to validator for current leave represented by (id)
 

Detailed Description

Form and file creation of paid holiday.

Definition in file card_group.php.

Function Documentation

◆ sendMail()

if(is_object($db)) sendMail ( $id,
$cancreate,
$now,
$autoValidation )

send email to validator for current leave represented by (id)

Parameters
int$idvalidator for current leave represented by (id)
int$cancreateflag for user right
int$nowdate
int$autoValidationboolean flag on autovalidation
Returns
stdClass
Exceptions
Exception

Definition at line 679 of file card_group.php.

References $id, $object, dol_buildpath(), dol_clone(), dol_print_date(), dol_syslog(), dol_time_plus_duree(), dolGetFirstLastname(), getDolGlobalString(), num_open_day(), and Holiday\STATUS_VALIDATED.