// Stock decrementation when order is shipped
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9486 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+1
-1
@@ -607,7 +607,7 @@ class OrderCore extends ObjectModel
|
||||
public function getCurrentStateFull($id_lang)
|
||||
{
|
||||
return Db::getInstance()->getRow('
|
||||
SELECT oh.`id_order_state`, osl.`name`, os.`logable`
|
||||
SELECT oh.`id_order_state`, osl.`name`, os.`logable`, os.`shipped`
|
||||
FROM `'._DB_PREFIX_.'order_history` oh
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_state_lang` osl ON (osl.`id_order_state` = oh.`id_order_state`)
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_state` os ON (os.`id_order_state` = oh.`id_order_state`)
|
||||
|
||||
Reference in New Issue
Block a user