+
+<td>
+
+
+
+<td>Minimum trade value:
+<&| qtextstring, qa => $qa, dbh => $dbh, prefix => 'mt', checkkind => 'poe',
+ thingstring => 'minprofitstring', emsgstore => $routeparams->{EmsgRef},
+ helpref => 'minprofit', boxopts => 'size=9',
+ onresults => sub {
+ ($routeparams->{MinProfit}) = @_;
+ }
+ &>
+% if ($minprofit_needs_apply) {
+<input type=submit name="apply_minprofit" value="Apply">
+% }