Colissimo in progress

This commit is contained in:
Etienne Roudeix
2013-11-14 11:21:34 +01:00
parent e8b4a4ac74
commit 48409c29a9
10 changed files with 236 additions and 158 deletions

View File

@@ -84,8 +84,10 @@ class OrderController extends BaseFrontController
}
/* get postage amount */
$moduleReflection = new \ReflectionClass($deliveryModule->getFullNamespace());
$moduleInstance = $moduleReflection->newInstance();
/*$moduleReflection = new \ReflectionClass($deliveryModule->getFullNamespace());
$moduleInstance = $moduleReflection->newInstance();*/
$moduleInstance = $this->container->get(sprintf('module.%s', $deliveryModule->getCode()));
$postage = $moduleInstance->getPostage($deliveryAddress->getCountry());
$orderEvent = $this->getOrderEvent();