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