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
d6fea5ef
Commit
d6fea5ef
authored
20 years ago
by
Rodolphe Quiedeville
Browse files
Options
Downloads
Patches
Plain Diff
Bugfix lors dans set_credite
parent
d2ccddc1
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/bon-prelevement.class.php
+5
-5
5 additions, 5 deletions
htdocs/bon-prelevement.class.php
with
5 additions
and
5 deletions
htdocs/bon-prelevement.class.php
+
5
−
5
View file @
d6fea5ef
...
...
@@ -150,7 +150,7 @@ class BonPrelevement
$fac
=
new
Facture
(
$this
->
db
);
/* Tag la facture comme impaye */
dolibarr_syslog
(
"
Rejet
Prelevement::
Crea
te set_payed fac "
.
$facs
[
$i
]);
dolibarr_syslog
(
"
Bon
Prelevement::
set_credi
te set_payed fac "
.
$facs
[
$i
]);
$fac
->
set_payed
(
$facs
[
$i
]);
}
}
...
...
@@ -309,9 +309,9 @@ class BonPrelevement
* dans un bon de prlvement
*/
$sql
=
"SELECT f
.rowid as facid
"
;
$sql
.
=
" FROM "
.
MAIN_DB_PREFIX
.
"prelevement_facture
as pf
"
;
$sql
.
=
" WHERE
pf.
fk_prelevement = "
.
$this
->
id
;
$sql
=
"SELECT f
k_facture
"
;
$sql
.
=
" FROM "
.
MAIN_DB_PREFIX
.
"prelevement_facture"
;
$sql
.
=
" WHERE fk_prelevement = "
.
$this
->
id
;
$result
=
$this
->
db
->
query
(
$sql
);
if
(
$result
)
...
...
@@ -332,7 +332,7 @@ class BonPrelevement
}
else
{
dolibarr_syslog
(
"Prelevement Erreur"
);
dolibarr_syslog
(
"
Bon-
Prelevement
::_get_list_factures
Erreur"
);
}
return
$arr
;
...
...
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