Skip to content

Commit

Permalink
Update card.php
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Mar 26, 2019
1 parent 012de4c commit 259235d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions htdocs/supplier_proposal/card.php
Expand Up @@ -932,12 +932,12 @@
$object->setProject(GETPOST('projectid'), 'int');
}

// Delai de livraison
// Delivery delay
elseif ($action == 'setavailability' && $user->rights->supplier_proposal->creer) {
$result = $object->availability($_POST['availability_id']);
}

// Terms of the settlement
// Terms of payments
elseif ($action == 'setconditions' && $user->rights->supplier_proposal->creer) {
$result = $object->setPaymentTerms(GETPOST('cond_reglement_id', 'int'));
}
Expand All @@ -950,7 +950,7 @@
$result = $object->set_remise_absolue($user, $_POST['remise_absolue']);
}

// Mode de reglement
// Payment mode
elseif ($action == 'setmode' && $user->rights->supplier_proposal->creer) {
$result = $object->setPaymentMethods(GETPOST('mode_reglement_id', 'int'));
}
Expand Down

0 comments on commit 259235d

Please sign in to comment.