trigger_devis

🔧 fwt_TS_NOOA_DEVIS_trigger_att

Trigger function for handling NOOA DEVIS (quote) events. This function manages various events related to quotes, including creation, modification, and line item updates. It handles product selection and pricing.
function fwt_TS_NOOA_DEVIS_trigger_att(string $id_type, string $id_obje) { global $global_modified_att; global $_DevisManager; $additionnal_object_updates = []; if(!isset($_DevisManager)){ $_DevisManager = new _DevisManager($id_type,$id_obje,'',$global_modified_att); } $handleEventProduct = $_DevisManager->eventHandler(); $current_lines = $_DevisManager->getProductLines('true'); // Changement de statut ? if(!is_null($handleEventProduct['isStatusChanged']) && $handleEventProduct['isStatusChanged'] !== false) { // ... (truncated)

⚙️ Parameters

⚠️ Throws