+sub action_recalc_amounts_and_taxes {
+ my ($self) = @_;
+
+ $self->_recalc();
+
+ $self->js
+ ->html('#netamount_id', $::form->format_amount(\%::myconfig, $self->order->netamount, -2))
+ ->html('#amount_id', $::form->format_amount(\%::myconfig, $self->order->amount, -2))
+ ->remove('.tax_row')
+ ->insertBefore($self->build_tax_rows, '#amount_row_id')
+ ->render($self);
+}
+