diff options
-rwxr-xr-x | mat | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -454,8 +454,12 @@ sub cmd_showplan { # ($portions_left > 0) ? $portions_left : 'u', $ids->{$mealtype}{'recipe_id'}, # get_recipe_uri($ids->{$mealtype}{'recipe_id'}), -# get_comment($ids->{$mealtype}{'recipe_id'}); # "apa", "lemur", "katt", "hund"; + } elsif ($ids->{$mealtype}{'comment_id'}) { + printf "%-10s %-13s |%s\n", + ($mealtype eq "frukost" ? $dt->ymd() : # FIXME remove hard coded mealtype + ($mealtype eq "elvakaffe" ? $dt->day_name() : "")), $mealtype, # FIXME remove hard coded mealtype + get_comment($ids->{$mealtype}{'comment_id'}); } else { printf "%-10s %-13s | \n", ($mealtype eq "frukost" ? $dt->ymd() : # FIXME remove hard coded mealtype |