Skip to content

Commit fb4873c

Browse files
author
Matteo Guindani
committed
Refs #7336
1 parent bb604be commit fb4873c

File tree

3 files changed

+181
-186
lines changed

3 files changed

+181
-186
lines changed

component/frontend/assets/basic.css

+15
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,18 @@ div#paypal input {width: auto}
117117
{
118118
background-color: #eee;
119119
}
120+
121+
table.table-order-detail {
122+
width: 100%;
123+
}
124+
125+
table.table-order-detail th {
126+
background-color: transparent;
127+
border-bottom: 1px solid #999;
128+
}
129+
130+
table.table-order-detail td {
131+
border-bottom: 1px solid #999;
132+
text-align: center;
133+
vertical-align: top;
134+
}

component/frontend/helpers/pizzabox.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function convertOrderRows($rows)
8686
$results[$row->container_number] = array(
8787
'id' => $row->container_id,
8888
'name' => $row->container_name,
89-
'image' => $row->container_image,
89+
'image' => empty($row->container_image) ? null : $row->container_image,
9090
'rowspan' => 0,
9191
'parts' => array()
9292
);
@@ -97,7 +97,7 @@ public function convertOrderRows($rows)
9797
$results[$row->container_number]['parts'][$row->part_id] = array(
9898
'id' => $row->part_id,
9999
'name' => $row->part_name,
100-
'image' => $row->part_image,
100+
'image' => empty($row->part_image) ? null : $row->part_image,
101101
'flavours' => array()
102102
);
103103
}
@@ -108,7 +108,7 @@ public function convertOrderRows($rows)
108108
$results[$row->container_number]['parts'][$row->part_id]['flavours'][$row->flavour_id] = array(
109109
'id' => $row->flavour_id,
110110
'name' => $row->flavour_name,
111-
'image' => $row->flavour_image,
111+
'image' => empty($row->flavour_image) ? null : $row->flavour_image,
112112
'count' => 0
113113
);
114114
}

0 commit comments

Comments
 (0)