Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
46bf65704a
@ -477,7 +477,7 @@ class Facture extends CommonInvoice
|
||||
$this->fk_project = GETPOST('projectid', 'int') > 0 ? ((int) GETPOST('projectid', 'int')) : $_facrec->fk_project;
|
||||
$this->note_public = GETPOST('note_public', 'none') ? GETPOST('note_public', 'none') : $_facrec->note_public;
|
||||
$this->note_private = GETPOST('note_private', 'none') ? GETPOST('note_private', 'none') : $_facrec->note_private;
|
||||
$this->modelpdf = GETPOST('model', 'alpha') ? GETPOST('model', 'apha') : $_facrec->modelpdf;
|
||||
$this->modelpdf = GETPOST('model', 'alpha') ? GETPOST('model', 'alpha') : $_facrec->modelpdf;
|
||||
$this->cond_reglement_id = GETPOST('cond_reglement_id', 'int') > 0 ? ((int) GETPOST('cond_reglement_id', 'int')) : $_facrec->cond_reglement_id;
|
||||
$this->mode_reglement_id = GETPOST('mode_reglement_id', 'int') > 0 ? ((int) GETPOST('mode_reglement_id', 'int')) : $_facrec->mode_reglement_id;
|
||||
$this->fk_account = GETPOST('fk_account') > 0 ? ((int) GETPOST('fk_account')) : $_facrec->fk_account;
|
||||
|
||||
@ -59,7 +59,7 @@ $pageprev = $page - 1;
|
||||
$pagenext = $page + 1;
|
||||
if (! $sortorder) $sortorder="DESC";
|
||||
if (! $sortfield) $sortfield="c.date_commande";
|
||||
$search_month = GETPOST('search_month', 'aplha');
|
||||
$search_month = GETPOST('search_month', 'alpha');
|
||||
$search_year = GETPOST('search_year', 'int');
|
||||
|
||||
if (GETPOST('button_removefilter_x', 'alpha') || GETPOST('button_removefilter', 'alpha')) {
|
||||
|
||||
@ -63,7 +63,7 @@ if (!$sortorder)
|
||||
$sortorder = "DESC";
|
||||
if (!$sortfield)
|
||||
$sortfield = "c.date_commande";
|
||||
$search_month = GETPOST('search_month', 'aplha');
|
||||
$search_month = GETPOST('search_month', 'alpha');
|
||||
$search_year = GETPOST('search_year', 'int');
|
||||
|
||||
if (GETPOST('button_removefilter_x', 'alpha') || GETPOST('button_removefilter', 'alpha')) {
|
||||
|
||||
@ -61,7 +61,7 @@ $pagenext = $page + 1;
|
||||
if (! $sortorder) $sortorder="DESC";
|
||||
if (! $sortfield) $sortfield="f.datef";
|
||||
|
||||
$search_month = GETPOST('search_month', 'aplha');
|
||||
$search_month = GETPOST('search_month', 'alpha');
|
||||
$search_year = GETPOST('search_year', 'int');
|
||||
|
||||
if (GETPOST('button_removefilter_x', 'alpha') || GETPOST('button_removefilter', 'alpha')) {
|
||||
|
||||
@ -60,7 +60,7 @@ $pageprev = $page - 1;
|
||||
$pagenext = $page + 1;
|
||||
if (!$sortorder) $sortorder = "DESC";
|
||||
if (!$sortfield) $sortfield = "f.datef";
|
||||
$search_month = GETPOST('search_month', 'aplha');
|
||||
$search_month = GETPOST('search_month', 'alpha');
|
||||
$search_year = GETPOST('search_year', 'int');
|
||||
|
||||
if (GETPOST('button_removefilter_x', 'alpha') || GETPOST('button_removefilter', 'alpha')) {
|
||||
|
||||
@ -60,7 +60,7 @@ $pagenext = $page + 1;
|
||||
if (!$sortorder) $sortorder = "DESC";
|
||||
if (!$sortfield) $sortfield = "p.datep";
|
||||
|
||||
$search_month = GETPOST('search_month', 'aplha');
|
||||
$search_month = GETPOST('search_month', 'alpha');
|
||||
$search_year = GETPOST('search_year', 'int');
|
||||
|
||||
if (GETPOST('button_removefilter_x', 'alpha') || GETPOST('button_removefilter', 'alpha')) {
|
||||
|
||||
@ -60,7 +60,7 @@ $pagenext = $page + 1;
|
||||
if (!$sortorder) $sortorder = "DESC";
|
||||
if (!$sortfield) $sortfield = "p.date_valid";
|
||||
|
||||
$search_month = GETPOST('search_month', 'aplha');
|
||||
$search_month = GETPOST('search_month', 'alpha');
|
||||
$search_year = GETPOST('search_year', 'int');
|
||||
|
||||
if (GETPOST('button_removefilter_x', 'alpha') || GETPOST('button_removefilter', 'alpha')) {
|
||||
|
||||
@ -319,7 +319,7 @@ if ($action == "mark_ticket_read" && $user->rights->ticket->write) {
|
||||
}
|
||||
|
||||
// Assign to someone
|
||||
if ($action == "assign_user" && GETPOST('btn_assign_user', 'aplha') && $user->rights->ticket->write) {
|
||||
if ($action == "assign_user" && GETPOST('btn_assign_user', 'alpha') && $user->rights->ticket->write) {
|
||||
$object->fetch('', '', GETPOST("track_id", 'alpha'));
|
||||
$useroriginassign = $object->fk_user_assign;
|
||||
$usertoassign = GETPOST('fk_user_assign', 'int');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user