заменил after_amount на amount_after before_amount на amount_before