#20 bugfix: transaction amount was always 0 on edit page