// fix bug view.tpl in AdminSuppliersController
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10172 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -24,6 +24,10 @@
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
{extends file="helper/view/view.tpl"}
|
||||
|
||||
{block name="override_tpl"}
|
||||
|
||||
<h2>{$supplier->name}</h2>
|
||||
|
||||
<h3>{l s='Total products:'} {count($products)}</h3>
|
||||
@@ -61,5 +65,6 @@
|
||||
</table>
|
||||
{/if}
|
||||
{/foreach}
|
||||
<br /><br />
|
||||
<a href="{$current}&token={$token}"><img src="../img/admin/arrow2.gif" /> {l s='Back to manufacturer list'}</a><br />
|
||||
|
||||
{/block}
|
||||
|
||||
|
||||
@@ -190,11 +190,13 @@ class AdminSuppliersControllerCore extends AdminController
|
||||
}
|
||||
}
|
||||
|
||||
$this->context->smarty->assign(array(
|
||||
$this->tpl_view_vars = array(
|
||||
'supplier' => $this->object,
|
||||
'products' => $products,
|
||||
'stock_management' => Configuration::get('PS_STOCK_MANAGEMENT'),
|
||||
));
|
||||
);
|
||||
|
||||
return parent::initView();
|
||||
}
|
||||
|
||||
public function afterImageUpload()
|
||||
|
||||
Reference in New Issue
Block a user