Fix item descriptions
This commit is contained in:
parent
71d01e2f53
commit
03669bc7cf
1 changed files with 1 additions and 1 deletions
2
b12f.php
2
b12f.php
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<?php
|
||||
$anyItemHasDescription = array_reduce($items, function ($acc, $item) {
|
||||
return $acc || $item->description != '';
|
||||
return $acc || $item->item_description != '';
|
||||
}, false);
|
||||
|
||||
$colspan = 3 + ($show_item_discounts ? 1 : 0) + ($anyItemHasDescription ? 1 : 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue