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]
/
includes
/
ui
/
allocation_cart.inc
diff --git
a/includes/ui/allocation_cart.inc
b/includes/ui/allocation_cart.inc
index e1f45ce1bdd20c6258e5b358694060dbe75c67f1..45bc0e8239d8955b36b5f46e4c069461c9d1514e 100644
(file)
--- a/
includes/ui/allocation_cart.inc
+++ b/
includes/ui/allocation_cart.inc
@@
-92,7
+92,7
@@
class allocation
$trans_no = $this->trans_no;
}
$trans_no = $this->trans_no;
}
- $sup = $type ==
21 || $type == 22
;
+ $sup = $type ==
ST_SUPPCREDIT || $type == ST_SUPPAYMENT
;
$this->allocs = array();
if ($trans_no) {
$this->allocs = array();
if ($trans_no) {
@@
-155,7
+155,7
@@
class allocation
//
function write()
{
//
function write()
{
- $sup = $this->type ==
21 || $this->type == 22
;
+ $sup = $this->type ==
ST_SUPPCREDIT || $this->type == ST_SUPPAYMENT
;
begin_transaction();
begin_transaction();