Changeset 109419 in spip-zone
- Timestamp:
- Mar 10, 2018, 3:38:50 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/commandes/trunk/inc/commandes.php
r107052 r109419 327 327 $options['expediteur'] = $config['expediteur_'.$config['expediteur']]; 328 328 329 include_spip('inc/utils'); 330 329 331 // Envoyer au vendeur 330 332 spip_log("traiter_notifications_commande : notification vendeur pour la commande $id_commande",'commandes.' . _LOG_INFO); 331 $notifications('commande_vendeur', $id_commande, $options); 333 if ($notification_statut = trouver_fond('commande_vendeur_'.$statut, 'notifications')) { 334 $notifications('commande_vendeur_'.$statut, $id_commande, $options); 335 } else { 336 $notifications('commande_vendeur', $id_commande, $options); 337 } 332 338 333 339 // Envoyer optionnellement au client 334 340 if($config['client']) { 341 335 342 spip_log("traiter_notifications_commande : notification client pour la commande $id_commande",'commandes.' . _LOG_INFO); 336 $notifications('commande_client', $id_commande, $options); 343 344 if ($notification_statut = trouver_fond('notifications/commande_client_'.$statut)) { 345 $notifications('commande_client_'.$statut, $id_commande, $options); 346 } else { 347 $notifications('commande_client', $id_commande, $options); 348 } 337 349 } 338 350
Note: See TracChangeset
for help on using the changeset viewer.