fixed #122
This commit is contained in:
parent
fc3e3152d4
commit
f75e80f080
@ -343,6 +343,9 @@ class Crunchbutton_Order extends Cana_Table {
|
||||
$foodItem .= ' '.$with.' ';
|
||||
|
||||
foreach ($dish->options() as $option) {
|
||||
if ($option->option()->type == 'select') {
|
||||
continue;
|
||||
}
|
||||
$foodItem .= preg_replace($pFind, $pReplace, $option->option()->name).', ';
|
||||
}
|
||||
$foodItem = substr($foodItem, 0, -2).'. ';
|
||||
|
||||
@ -16,6 +16,9 @@
|
||||
$food .= '<i> w/ ';
|
||||
|
||||
foreach ($dish->options() as $option) {
|
||||
if ($option->option()->type == 'select') {
|
||||
continue;
|
||||
}
|
||||
$cartPrice += $option->option()->price;
|
||||
$food .= $option->option()->name.', ';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user