Supplier credit note was not properly checked against sufficient quantity on hand.
authorJanusz Dobrowolski <janusz@frontaccouting.eu>
Fri, 19 Apr 2013 18:04:41 +0000 (20:04 +0200)
committerJanusz Dobrowolski <janusz@frontaccouting.eu>
Fri, 19 Apr 2013 18:04:41 +0000 (20:04 +0200)
purchasing/supplier_credit.php

index 4824344e0d907b1aff4ce8fdf92c01b1a09e0e8f..0806b7cf5d48e5373d0dcc0b957ffab6013e67bc 100644 (file)
@@ -203,7 +203,6 @@ function check_data()
                                                _("Quantity On Hand") . " = " . number_format2($qoh, get_qty_dec($stock['stock_id'])));
                                        return false;
                                }
-                               return true;
                        }
                }
        }