projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Changed all numeric constants to the new defined constants. A huge task.
[fa-stable.git]
/
purchasing
/
includes
/
db
/
supp_payment_db.inc
diff --git
a/purchasing/includes/db/supp_payment_db.inc
b/purchasing/includes/db/supp_payment_db.inc
index d4dc4706ea3f02d9000648176f08867c8db7888c..3d848ed639b6eabc755d18ee9d0de2c7ae32908c 100644
(file)
--- a/
purchasing/includes/db/supp_payment_db.inc
+++ b/
purchasing/includes/db/supp_payment_db.inc
@@
-35,7
+35,7
@@
function add_supp_payment($supplier_id, $date_, $bank_account,
// it's a supplier payment
- $trans_type =
22
;
+ $trans_type =
ST_SUPPAYMENT
;
/* Create a supp_trans entry for the supplier payment */
$payment_id = add_supp_trans($trans_type, $supplier_id, $date_, $date_,