X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Finquiry%2Fcustomer_allocation_inquiry.php;h=e3aa9567082a2e45dea005cd09e260808ee3a04f;hb=8199b71bc7336abdedadc24b9be0c3fbb9546988;hp=ab75d23767f914807f353a57303c75d92ae72469;hpb=c640dae024fb9554d476bd863a68ef82ada8822d;p=fa-stable.git diff --git a/sales/inquiry/customer_allocation_inquiry.php b/sales/inquiry/customer_allocation_inquiry.php index ab75d237..e3aa9567 100644 --- a/sales/inquiry/customer_allocation_inquiry.php +++ b/sales/inquiry/customer_allocation_inquiry.php @@ -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)