40 |
'notification_tiers_consulte', |
'notification_tiers_consulte', |
41 |
'notification_depot_demat', |
'notification_depot_demat', |
42 |
'notification_commune', |
'notification_commune', |
43 |
|
'notification_signataire', |
44 |
'lettre_incompletude', |
'lettre_incompletude', |
45 |
'lettre_majoration' |
'lettre_majoration' |
46 |
); |
); |
393 |
case "notification_tiers_consulte": |
case "notification_tiers_consulte": |
394 |
$value_type = __('Notification tiers consulté'); |
$value_type = __('Notification tiers consulté'); |
395 |
break; |
break; |
396 |
|
case "notification_signataire": |
397 |
|
$value_type = __('Notification signataire'); |
398 |
|
break; |
399 |
case "completude_DI": |
case "completude_DI": |
400 |
$value_type = __('complétude DI'); |
$value_type = __('complétude DI'); |
401 |
break; |
break; |
812 |
|| $val['type'] === 'notification_tiers_consulte' |
|| $val['type'] === 'notification_tiers_consulte' |
813 |
|| $val['type'] === 'notification_depot_demat' |
|| $val['type'] === 'notification_depot_demat' |
814 |
|| $val['type'] === 'notification_commune' |
|| $val['type'] === 'notification_commune' |
815 |
|
|| $val['type'] === 'notification_signataire' |
816 |
) { |
) { |
817 |
// Récupère la payload de la tache |
// Récupère la payload de la tache |
818 |
$data = array(); |
$data = array(); |
1202 |
'notification_instruction', |
'notification_instruction', |
1203 |
'notification_decision', |
'notification_decision', |
1204 |
'notification_service_consulte', |
'notification_service_consulte', |
1205 |
'notification_tiers_consulte' |
'notification_tiers_consulte', |
1206 |
|
'notification_signataire' |
1207 |
); |
); |
1208 |
if ($valF["stream"] == "output" |
if ($valF["stream"] == "output" |
1209 |
&& ! in_array($valF['type'], $typeNonConcerne)) { |
&& ! in_array($valF['type'], $typeNonConcerne)) { |
1783 |
$val_in['parametre_courriel_type_message'] = $phrase_type_notification['parametre_courriel_type_message']; |
$val_in['parametre_courriel_type_message'] = $phrase_type_notification['parametre_courriel_type_message']; |
1784 |
} |
} |
1785 |
|
|
1786 |
// Récupération des liens vers les documents et des id et type des annexes |
if ($typeNotification == 'notification_signataire') { |
1787 |
$infoDocNotif = $inst_in->getInfosDocumentsNotif($inst_in->getVal($inst_in->clePrimaire), $category); |
$val_in['lien_page_signature'] = $inst_in->getLienPageSignature($inst_instruction); |
1788 |
$cle = $category == PORTAL ? 'path' : 'lien_telechargement_document'; |
} |
1789 |
$val_in[$cle] = $infoDocNotif['document']['path']; |
else { |
1790 |
$val_in['annexes'] = $infoDocNotif['annexes']; |
// Récupération des liens vers les documents et des id et type des annexes |
1791 |
|
$infoDocNotif = $inst_in->getInfosDocumentsNotif($inst_in->getVal($inst_in->clePrimaire), $category); |
1792 |
|
$cle = $category == PORTAL ? 'path' : 'lien_telechargement_document'; |
1793 |
|
$val_in[$cle] = $infoDocNotif['document']['path']; |
1794 |
|
$val_in['annexes'] = $infoDocNotif['annexes']; |
1795 |
|
} |
1796 |
} |
} |
1797 |
return $val_in; |
return $val_in; |
1798 |
} |
} |
2199 |
|| $this->getVal('type') === 'notification_recepisse' |
|| $this->getVal('type') === 'notification_recepisse' |
2200 |
|| $this->getVal('type') === 'notification_decision' |
|| $this->getVal('type') === 'notification_decision' |
2201 |
|| $this->getVal('type') === 'notification_service_consulte' |
|| $this->getVal('type') === 'notification_service_consulte' |
2202 |
|| $this->getVal('type') === 'notification_tiers_consulte') { |
|| $this->getVal('type') === 'notification_tiers_consulte' |
2203 |
|
|| $this->getVal('type') === 'notification_signataire') { |
2204 |
// |
// |
2205 |
$val['dossier'] = $this->get_dossier_data($this->getVal('dossier')); |
$val['dossier'] = $this->get_dossier_data($this->getVal('dossier')); |
2206 |
$dossier_id = isset($val['dossier']['dossier']) === true ? $val['dossier']['dossier'] : null; |
$dossier_id = isset($val['dossier']['dossier']) === true ? $val['dossier']['dossier'] : null; |
2295 |
|| $this->getVal('type') === 'notification_instruction' |
|| $this->getVal('type') === 'notification_instruction' |
2296 |
|| $this->getVal('type') === 'notification_decision' |
|| $this->getVal('type') === 'notification_decision' |
2297 |
|| $this->getVal('type') === 'notification_service_consulte' |
|| $this->getVal('type') === 'notification_service_consulte' |
2298 |
|| $this->getVal('type') === 'notification_tiers_consulte')) { |
|| $this->getVal('type') === 'notification_tiers_consulte' |
2299 |
|
|| $this->getVal('type') === 'notification_signataire')) { |
2300 |
// |
// |
2301 |
$object_id = $this->getVal('dossier'); |
$object_id = $this->getVal('dossier'); |
2302 |
// Il ne doit y avoir qu'une liaison entre le numéro du dossier interne et un uid externe de "demande" |
// Il ne doit y avoir qu'une liaison entre le numéro du dossier interne et un uid externe de "demande" |
2443 |
'notification_decision', |
'notification_decision', |
2444 |
'notification_service_consulte', |
'notification_service_consulte', |
2445 |
'notification_tiers_consulte', |
'notification_tiers_consulte', |
2446 |
|
'notification_signataire', |
2447 |
) |
) |
2448 |
) === true) { |
) === true) { |
2449 |
$objects = array('instruction_notification', 'demande', ); |
$objects = array('instruction_notification', 'demande', ); |
2526 |
'notification_instruction', |
'notification_instruction', |
2527 |
'notification_decision', |
'notification_decision', |
2528 |
'notification_service_consulte', |
'notification_service_consulte', |
2529 |
'notification_tiers_consulte' |
'notification_tiers_consulte', |
2530 |
|
'notification_signataire' |
2531 |
) |
) |
2532 |
) === true) { |
) === true) { |
2533 |
$tables = array('instruction_notification', ); |
$tables = array('instruction_notification', ); |