diff --git a/sql/branch.sql b/sql/branch.sql index d1a0104b1c..dc4aa22346 100644 --- a/sql/branch.sql +++ b/sql/branch.sql @@ -1,4 +1,3 @@ BEGIN; - UPDATE payment_instructions SET due = 0 WHERE amount = 0 AND due != 0; - UPDATE payment_instructions SET due = floor(9.41/(amount)) * amount WHERE due > 9.41; + UPDATE payment_instructions SET due = 0 WHERE due > 9.41; END;