Use of undefined constant IdCutomerPackVm - assumed 'IdCutomerPackVm' (this will throw an Error in a future version of PHP)
if ($project->id == 1) {
$idProd = IdCutomerPackVm;
} else if ($project->id == 2) {
$idProd = IdCutomerPackVd;
} else {
$idProd = IdCutomerPackVd;
}