querries.php file handles ajax requested sql

date change should add a new entry at this point, it does not. Check for
errors.
add entry insert query works

has some scaffolding, but it gets the values in
Source entries from edited fields deleted and ledger redrawn
date edit now fully functional

editing the date field sets a delete value for edit in the DEL field, and
creates a new entry with the new date value.

Next:
- editing the comment field just updates the entry.
- back on date  edit, check the SOURCE field first. If it is a "download",
  edit it as defined now. If it is an "edit", then just update the date
  field.
- edit the transaction ammount like the date. Edit the serial value like
  the comment.
- in the download script, check the date and amount of each entry. If
  there's a match in the existing downloads table, regardless of its DEL
  value, then discard it and do not enter it into the database.