X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fincludes%2Fdb%2Fsupp_payment_db.inc;h=3d848ed639b6eabc755d18ee9d0de2c7ae32908c;hb=ddadb47f2620ce6902ad4694ce6512568862ba05;hp=d4dc4706ea3f02d9000648176f08867c8db7888c;hpb=2b2cbcfe6a448536113966cbb11b79eda73db5ab;p=fa-stable.git diff --git a/purchasing/includes/db/supp_payment_db.inc b/purchasing/includes/db/supp_payment_db.inc index d4dc4706..3d848ed6 100644 --- 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_,