This commit is contained in:
arzynik 2012-08-26 23:12:56 -04:00
parent fc3e3152d4
commit f75e80f080
2 changed files with 6 additions and 0 deletions

View File

@ -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).'. ';

View File

@ -16,6 +16,9 @@
$food .= '<i>&nbsp;&nbsp;&nbsp;w/&nbsp;&nbsp;&nbsp;';
foreach ($dish->options() as $option) {
if ($option->option()->type == 'select') {
continue;
}
$cartPrice += $option->option()->price;
$food .= $option->option()->name.', ';
}