Fix values when using multiple attribute columns (#68)

This commit is contained in:
jekkos
2018-09-20 00:35:20 +02:00
committed by jekkos
parent e2147d8b00
commit 667c4e2afe
3 changed files with 5 additions and 2 deletions

View File

@@ -1262,8 +1262,8 @@ class Reports extends Secure_Controller
to_currency($drow['total']),
to_currency($drow['cost']),
to_currency($drow['profit']),
($drow['discount_type'] == PERCENT)? $drow['discount'].'%':to_currency($drow['discount']),
explode('|', (isset($drow['attribute_values'])) ? $drow['attribute_values'] : ""))));
($drow['discount_type'] == PERCENT)? $drow['discount'].'%':to_currency($drow['discount'])),
explode('|', (isset($drow['attribute_values'])) ? $drow['attribute_values'] : "")));
}
if(isset($report_data['rewards'][$key]))