File tree 3 files changed +181
-186
lines changed
3 files changed +181
-186
lines changed Original file line number Diff line number Diff line change @@ -117,3 +117,18 @@ div#paypal input {width: auto}
117
117
{
118
118
background-color : # eee ;
119
119
}
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
+ }
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ public function convertOrderRows($rows)
86
86
$ results [$ row ->container_number ] = array (
87
87
'id ' => $ row ->container_id ,
88
88
'name ' => $ row ->container_name ,
89
- 'image ' => $ row ->container_image ,
89
+ 'image ' => empty ( $ row -> container_image ) ? null : $ row ->container_image ,
90
90
'rowspan ' => 0 ,
91
91
'parts ' => array ()
92
92
);
@@ -97,7 +97,7 @@ public function convertOrderRows($rows)
97
97
$ results [$ row ->container_number ]['parts ' ][$ row ->part_id ] = array (
98
98
'id ' => $ row ->part_id ,
99
99
'name ' => $ row ->part_name ,
100
- 'image ' => $ row ->part_image ,
100
+ 'image ' => empty ( $ row -> part_image ) ? null : $ row ->part_image ,
101
101
'flavours ' => array ()
102
102
);
103
103
}
@@ -108,7 +108,7 @@ public function convertOrderRows($rows)
108
108
$ results [$ row ->container_number ]['parts ' ][$ row ->part_id ]['flavours ' ][$ row ->flavour_id ] = array (
109
109
'id ' => $ row ->flavour_id ,
110
110
'name ' => $ row ->flavour_name ,
111
- 'image ' => $ row ->flavour_image ,
111
+ 'image ' => empty ( $ row -> flavour_image ) ? null : $ row ->flavour_image ,
112
112
'count ' => 0
113
113
);
114
114
}
You can’t perform that action at this time.
0 commit comments