New TAKEPOS_NUMBERING_PREFIX const

This commit is contained in:
javierybar
2020-02-26 22:45:32 +01:00
committed by GitHub
parent 0646b1a7a9
commit 3fa55a59b7

View File

@@ -168,6 +168,8 @@ if ($action == 'valid' && $user->rights->facture->creer)
$invoice->update($user);
}
if ($conf->global->TAKEPOS_NUMBERING_PREFIX) $conf->global->FACTURE_ADDON = $conf->global->TAKEPOS_NUMBERING_PREFIX;
$constantforkey = 'CASHDESK_NO_DECREASE_STOCK'.$_SESSION["takeposterminal"];
if ($invoice->statut != Facture::STATUS_DRAFT)
{