FIX Update incoterm on supplier invoice
This commit is contained in:
parent
664f57a5f0
commit
1c9661d9d6
@ -319,6 +319,12 @@ if (empty($reshook))
|
|||||||
$result=$object->setPaymentTerms(GETPOST('cond_reglement_id','int'));
|
$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
|
// payment mode
|
||||||
else if ($action == 'setmode' && $user->rights->fournisseur->facture->creer)
|
else if ($action == 'setmode' && $user->rights->fournisseur->facture->creer)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user