fixes bugs in save_sale method, changes datatype of taxes to int