Skip to content

Commit

Permalink
FIX Update incoterm on supplier invoice
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Apr 12, 2018
1 parent 664f57a commit 1c9661d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions htdocs/fourn/facture/card.php
Expand Up @@ -319,6 +319,12 @@
$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)
{
Expand Down

0 comments on commit 1c9661d

Please sign in to comment.