Fix credit and debit invoice bookings.
Improve usability of datepicker.