comment
This commit is contained in:
parent
6f647f8a40
commit
5621e85c00
@ -6,6 +6,7 @@
|
||||
* Copyright (C) 2012 Cedric Salvador <csalvador@gpcsolutions.fr>
|
||||
* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro>
|
||||
* Copyright (C) 2015 Marcos García <marcosgdf@gmail.com>
|
||||
* Copyright (C) 2017 Frédéric France <frederic.france@netlogic.fr>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
||||
@ -8,6 +8,7 @@
|
||||
* Copyright (C) 2012 Cedric Salvador <csalvador@gpcsolutions.fr>
|
||||
* Copyright (C) 2015 Alexandre Spangaro <aspangaro.dolibarr@gmail.com>
|
||||
* Copyright (C) 2016 Meziane Sof <virtualsof@yahoo.fr>
|
||||
* Copyright (C) 2017 Frédéric France <frederic.france@netlogic.fr>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -347,12 +348,12 @@ if (empty($reshook))
|
||||
{
|
||||
$object->setAutoValidate(GETPOST('auto_validate', 'int'));
|
||||
}
|
||||
// Set auto validate
|
||||
// Set generate pdf
|
||||
elseif ($action == 'setgenerate_pdf' && $user->rights->facture->creer)
|
||||
{
|
||||
$object->setGeneratepdf(GETPOST('generate_pdf', 'int'));
|
||||
}
|
||||
// Set auto validate
|
||||
// Set model pdf
|
||||
elseif ($action == 'setmodelpdf' && $user->rights->facture->creer)
|
||||
{
|
||||
$object->setModelpdf(GETPOST('modelpdf', 'alpha'));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user