Module CustomFields Cases: Difference between revisions

Jump to navigation Jump to search
(→‎Overloading functions: Adding another example)
Line 272: Line 272:
     $object->remise_percent = $remise_calculee;
     $object->remise_percent = $remise_calculee;


     // Update the price (won't be automatic)
     // Update the price (it's not automatic when we edit remise_percent and update, we have to recompute manually the prices before calling $object->update())
     global $mysoc;
     global $mysoc;
     $localtaxes_type=getLocalTaxesFromRate($object->tva_tx,0,$mysoc);
     $localtaxes_type=getLocalTaxesFromRate($object->tva_tx,0,$mysoc);
439

edits

Navigation menu