Skip to content

Commit

Permalink
Fix : Numbering on supplier invoice was not saved and on shipment dis…
Browse files Browse the repository at this point in the history
…played error when ok
  • Loading branch information
atm-maxime committed Jul 30, 2013
1 parent 0dc7aa1 commit f9c2910
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion htdocs/admin/expedition.php
Expand Up @@ -64,7 +64,7 @@

if (isset($res))
{
if ($res < 0)
if ($res > 0)
setEventMessage($langs->trans("SetupSaved"));
else
setEventMessage($langs->trans("Error"), 'errors');
Expand Down
Expand Up @@ -56,7 +56,7 @@ function info()
$texte = $langs->trans('GenericNumRefModelDesc')."<br>\n";
$texte.= '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';
$texte.= '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
$texte.= '<input type="hidden" name="action" value="updateMaskInvoice">';
$texte.= '<input type="hidden" name="action" value="updateMask">';
$texte.= '<input type="hidden" name="maskconstinvoice" value="SUPPLIER_INVOICE_TULIP_MASK">';
$texte.= '<table class="nobordernopadding" width="100%">';

Expand Down

0 comments on commit f9c2910

Please sign in to comment.