Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
03f642e8
Commit
03f642e8
authored
10 years ago
by
aspangaro
Browse files
Options
Downloads
Plain Diff
Merge branch 'Upstream/3.6'
parents
2aa3995b
ee65e42b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/commande/class/commande.class.php
+9
-9
9 additions, 9 deletions
htdocs/commande/class/commande.class.php
with
9 additions
and
9 deletions
htdocs/commande/class/commande.class.php
+
9
−
9
View file @
03f642e8
<?php
/* Copyright (C) 2003-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-201
4
Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2005-201
3
Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2006 Andre Cianfarani <acianfa@free.fr>
* Copyright (C) 2010-2013 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2011 Jean Heimburger <jean@tiaris.info>
...
...
@@ -9,7 +9,7 @@
* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro>
*
* 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
* it under the terms of the GNU
*
General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
...
...
@@ -291,13 +291,6 @@ class Commande extends CommonOrder
}
}
// Set new ref and current status
if
(
!
$error
)
{
$this
->
ref
=
$num
;
$this
->
statut
=
1
;
}
if
(
!
$error
)
{
// Appel des triggers
...
...
@@ -308,6 +301,13 @@ class Commande extends CommonOrder
// Fin appel triggers
}
// Set new ref and current status
if
(
!
$error
)
{
$this
->
ref
=
$num
;
$this
->
statut
=
1
;
}
if
(
!
$error
)
{
$this
->
db
->
commit
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment