diff --git a/include/controllers/default/cockpit2/api/order/index.php b/include/controllers/default/cockpit2/api/order/index.php index a821080df..39c1879b7 100644 --- a/include/controllers/default/cockpit2/api/order/index.php +++ b/include/controllers/default/cockpit2/api/order/index.php @@ -11,19 +11,6 @@ class Controller_api_order extends Crunchbutton_Controller_RestAccount { } - $_POST = [ - 'card' => [ - 'id' => 'CC1yW7tINe5OHE77eplt5hPs', - 'uri' => '/cards/CC1yW7tINe5OHE77eplt5hPs', - 'lastfour' => '4242', - 'card_type' => 'visa', - 'month' => '2', - 'year' => '2016' - ], - 'pay_type' => 'card', - 'delivery_type' => 'delivery', - ]; - // @todo check to see if the restaurant has the permissions for that restaurant id // $_POST['restaurant'] diff --git a/include/views/default/cockpit2/bundle/js.phtml b/include/views/default/cockpit2/bundle/js.phtml index 499e0c41b..c0ed02424 100644 --- a/include/views/default/cockpit2/bundle/js.phtml +++ b/include/views/default/cockpit2/bundle/js.phtml @@ -25,6 +25,7 @@ + diff --git a/include/views/default/cockpit2/frontend/restaurant-order-new.phtml b/include/views/default/cockpit2/frontend/restaurant-order-new.phtml index e203aaada..de19c3e0e 100644 --- a/include/views/default/cockpit2/frontend/restaurant-order-new.phtml +++ b/include/views/default/cockpit2/frontend/restaurant-order-new.phtml @@ -59,8 +59,19 @@ -