- Creation of order-edit view

This commit is contained in:
mespeche
2013-09-12 12:40:46 +02:00
parent 1f7d8a20b3
commit c64b987e9b
5 changed files with 478 additions and 4 deletions

View File

@@ -50,6 +50,11 @@
<default key="_controller">Thelia\Controller\Admin\OrderController::indexAction</default>
</route>
<route id="admin.order.update.view" path="/admin/order/update/{order_id}">
<default key="_controller">Thelia\Controller\Admin\OrderController::viewAction</default>
<requirement key="order_id">\d+</requirement>
</route>
<!-- end Customer rule management -->
<!-- Categories management -->

View File

@@ -36,4 +36,12 @@ class OrderController extends BaseAdminController
return $this->render("orders", array("display_order" => 20));
}
public function viewAction($order_id)
{
return $this->render("order-edit", array(
"order_id" => $order_id
));
}
}