Fix bug in payments
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 14 Mar 2018 14:53:09 +0000 (10:53 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 14 Mar 2018 14:53:09 +0000 (10:53 -0400)
commitc64c724baef4e7c92814ef5cbf5f400001940554
treefc7a5475ed8a61f6f8847113e92db84bee190df2
parent208de3a73979fccb278416d1f54bc7a1a8c94dcf
Fix bug in payments

When applying payment to invoice with an id make sure you substract the
balance from payment in each case. Then left over payments are applied
to any remaining invoices.
classes/billingSupport.php
classes/notifications.php
models/admin/billing/index.php
models/admin/member/billing.php
views/admin/notifications/notification.html