bitpopulous / alpha

Populous Alpha
0 stars 0 forks source link

Time Left on Invoices Incorrectly Shown #89

Closed PeterWong1 closed 7 years ago

PeterWong1 commented 7 years ago

Borrower Login

The due dates for invoices seem to be perennially fixed. For example invoice #80 was created on 24 Aug 2017 with due date on 26 Aug 2017. However the days left shows 6 days, 6 Hours left. This was not noticed before but the number of days left appears to be incorrect since 26-24 is only 2 days. Ideally the invoice should say time left has expired or words to that effect.

dates01

Similarly invoices that have not been approved, invoice #92, also shows incorrect time for due dates. The invoice was created on 27 Aug 2017 and with due date of 31 Aug 2017 (3 days) but the calculated time remaining shows 1 day, 6 hours. Since the time has expired, the status should be expired even if not approved.

dates02

makashtekar commented 7 years ago

duplicate #92