From: Ian Jackson Date: Mon, 24 Aug 2009 14:01:46 +0000 (+0100) Subject: Do not display number available in trading plan X-Git-Tag: 3.4~106^2~6 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.web-live.git;a=commitdiff_plain;h=ec244cf220ba2232df707da397dd10de776dbda2;ds=sidebyside Do not display number available in trading plan --- diff --git a/yarrg/web/routetrade b/yarrg/web/routetrade index 56a1c38..4dbe36e 100644 --- a/yarrg/web/routetrade +++ b/yarrg/web/routetrade @@ -600,7 +600,7 @@ Sail to <% $islandname |h %> % my $age= $now - (values %todo)[0]->{Timestamp}; % my $cellid= "da_${i}"; % $da_ages{$cellid}= $age; -\ +\ (Data age: <% prettyprint_age($age) %>) % } % my $total= 0; @@ -617,13 +617,11 @@ Sail to <% $islandname |h %> % my @stalls= sort keys %{ $t->{Stalls} }; % my $pstall= sub { % my $name= $stalls[$_[0]]; -% my $avail= $t->{Stalls}{$name}; -<% $avail |h %> <% $od eq 'org' ? 'avail.' : 'wanted' %> <% $name |h %> % }; % % $pstall->(0); -<<% $td %> align=right><% $t->{Price} |h %> each +<<% $td %> align=right><% $t->{Price} |h %> poe ea. <<% $td %> align=right><% $t->{Qty} |h %> unit(s) <<% $td %> align=right><% $t->{Total} |h %> total % @@ -636,7 +634,7 @@ Sail to <% $islandname |h %> % } % if (%todo) { -<% $od eq 'org' ? 'Outlay' : 'Proceeds' %> +<% $od eq 'org' ? 'Outlay' : 'Proceeds' %> <% $total |h %> total % } % }