issue #1110 - removed temporally this closed verification

This commit is contained in:
Daniel Camargo 2013-04-25 11:58:41 -03:00
parent 8b53443d17
commit 618a1f041b

View File

@ -133,7 +133,7 @@ class Crunchbutton_Order extends Cana_Table {
$this->name = c::user()->name;
}
}
/*
if (!$this->restaurant()->open()) {
$errors['closed'] = 'This restaurant is closed.';
@ -151,7 +151,7 @@ class Crunchbutton_Order extends Cana_Table {
$errors['debug'] = $debug;
}
}
*/
if (!$this->restaurant()->meetDeliveryMin($this) && $this->delivery_type == 'delivery') {
$errors['minimum'] = 'Please meet the delivery minimum of '.$this->restaurant()->delivery_min.'.';
}