diff --git a/htdocs/fourn/facture/card.php b/htdocs/fourn/facture/card.php index 35b81b39a71..1029cad1b03 100644 --- a/htdocs/fourn/facture/card.php +++ b/htdocs/fourn/facture/card.php @@ -319,6 +319,12 @@ if (empty($reshook)) $result=$object->setPaymentTerms(GETPOST('cond_reglement_id','int')); } + // Set incoterm + elseif ($action == 'set_incoterms' && !empty($conf->incoterm->enabled)) + { + $result = $object->setIncoterms(GETPOST('incoterm_id', 'int'), GETPOST('location_incoterms', 'alpha')); + } + // payment mode else if ($action == 'setmode' && $user->rights->fournisseur->facture->creer) {