From: Bjørn Rustad Date: Thu, 15 Aug 2013 20:14:34 +0000 (+0200) Subject: Show price in director select box X-Git-Url: http://git.rustad.me/?a=commitdiff_plain;h=32d863b254e3c06099f76bfbe60228f77a197e1c;p=duplo Show price in director select box --- diff --git a/lib/Duplo/Manager.pm b/lib/Duplo/Manager.pm index 953c6aa..891b795 100644 --- a/lib/Duplo/Manager.pm +++ b/lib/Duplo/Manager.pm @@ -146,7 +146,8 @@ sub edit_form { my $directors_ref = $dbh->selectall_arrayref(" SELECT DISTINCT t.team, - t.name + t.name, + dr.price FROM director_race AS dr JOIN diff --git a/templates/manager/edit_form.html.ep b/templates/manager/edit_form.html.ep index e0a8028..e77be9e 100644 --- a/templates/manager/edit_form.html.ep +++ b/templates/manager/edit_form.html.ep @@ -40,7 +40,7 @@ % } else { % }