fixed to admin interface categories & stats
This commit is contained in:
parent
b542db2c0b
commit
759d9615b9
2 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@ sub post_customer {
|
|||
|
||||
my @all_weeks = $week_transaction_rs->all;
|
||||
my $first = $all_weeks[0]->get_column('count') || 0;
|
||||
my $second = $all_weeks[1]->get_column('count') || 0;
|
||||
my $second = defined $all_weeks[1] ? $all_weeks[1]->get_column('count') || 0 : 0;
|
||||
my $max = max( map { $_->get_column('count') } @all_weeks );
|
||||
my $sum = sum( map { $_->get_column('count') } @all_weeks );
|
||||
my $count = $week_transaction_rs->count;
|
||||
|
|
Reference in a new issue