Fixed bank account balance checking procedure.
[fa-stable.git] / sales / inquiry / customer_allocation_inquiry.php
index ab75d23767f914807f353a57303c75d92ae72469..e3aa9567082a2e45dea005cd09e260808ee3a04f 100644 (file)
@@ -82,7 +82,7 @@ function view_link($trans)
 
 function due_date($row)
 {
-       return $row["type"] == 10 ? $row["due_date"] : '';
+       return $row["type"] == ST_SALESINVOICE ? $row["due_date"] : '';
 }
 
 function fmt_balance($row)