chiark / gitweb /
Fix unticking
[ypp-sc-tools.db-live.git] / yarrg / web / routetrade
index 18e47685adbabca24a535cefa512d4ce6a23ace9..97359a9fc1fea4920f7a6deaad345d775a34d036 100644 (file)
             trades to start ith and have a button to show all?
 16:39 <ceb> Also, maybe colour to highlight the suggested trades?
 
-16:40 <ceb> can it give a total investment/profit for the suggested trades?
 16:40 <ceb> columns should be sortable with the small arrows as before
 
-16:46 <Diziet> Oh the unticking has become broken.
-
 16:51 <ceb> YPP interfaces have price then qty. You have qty then price. This 
             is confusing!
 16:51 <ceb> the max column ordering is OK
@@ -67,6 +64,7 @@
 Also:
 - potential cost of losses
 - max volume/mass
+- use POST for update.  Hrrm.
 
 ========== TODO ==========
 
@@ -298,7 +296,8 @@ die "$cmpu $uue ?" if length $cmpu > 20;
                        die "$f->{UidLong} = $f->{UidShort} = $recons_long ?";
        }
 
-       if ($qa->{"R$f->{UidShort}"} && !$qa->{"T$f->{UidShort}"}) {
+       if (defined $qa->{"R$f->{UidShort}"} &&
+           !defined $qa->{"T$f->{UidShort}"}) {
                $f->{Suppress}= 1;
        }