got rid of Dwarn

This commit is contained in:
Finn 2018-06-14 16:47:36 +01:00
parent 2b0abd2606
commit 8d4c9703a0

View file

@ -134,7 +134,6 @@ sub post_customer {
my @cat_lists = map { { category => $_, value => $cat_total_list{$_}, my @cat_lists = map { { category => $_, value => $cat_total_list{$_},
icon => $c->schema->resultset('Category')->as_hash_name_icon->{$_} } } sort keys %cat_total_list; icon => $c->schema->resultset('Category')->as_hash_name_icon->{$_} } } sort keys %cat_total_list;
Dwarn @cat_lists;
$data->{cat_list} = [ sort { $b->{value} <=> $a->{value} } @cat_lists ]; $data->{cat_list} = [ sort { $b->{value} <=> $a->{value} } @cat_lists ];
my $purchase_no_essential_rs = $purchase_rs->search({ my $purchase_no_essential_rs = $purchase_rs->search({