chiark / gitweb /
WIP routesearch UI: entry done, now must compute results
[ypp-sc-tools.db-test.git] / yarrg / web / enter_advrouteopts
index 2a5eff0e5c5c677334ec055b709d1c566cfdb4f6..c8a6ddbb2429a983e40fad372fb97821564b9f03 100644 (file)
  This Mason component generates entry fields for route planning
  advanced parameters (capacity limits, etc).
 
The results are returned in $routeparams:
Some useful parameters are in %$routeparams:
        ${ $routeparams->{EmsgRef} }
+       $routeparams->{SayOptionalCapital}
+ The results are returned there:
        $routeparams->{LossPerLeaguePct}
        $routeparams->{MaxMass}
        $routeparams->{MaxVolume}
@@ -78,7 +80,8 @@ Expected losses:
 </table>
 <table><tr>
 
-<td>Available capital:
+<td>Available capital<%
+ $routeparams->{SayOptionalCapital} ? ' (optional)' : '' %>:
 
 <&| qtextstring, qa => $qa, dbh => $dbh, prefix => 'ac',
     thingstring => 'capitalstring', emsgstore => $routeparams->{EmsgRef},