// AdminSupplierOrdersController : updated toolbar in viewsupplier_order
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9940 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -27,14 +27,9 @@
|
||||
{extends file="helper/view/view.tpl"}
|
||||
|
||||
{block name="override_tpl"}
|
||||
|
||||
<div>
|
||||
<h2>{l s='Supplier Order'} #{$supplier_order_reference}</h2>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 20px;">
|
||||
<fieldset>
|
||||
<legend>{l s='Order'} #{$supplier_order_reference}</legend>
|
||||
<legend>{l s='General informations'}</legend>
|
||||
<table style="width: 400px;" classe="table">
|
||||
<tr>
|
||||
<td>{l s='Employee:'}</td>
|
||||
|
||||
@@ -1372,7 +1372,7 @@ class AdminSupplierOrdersControllerCore extends AdminController
|
||||
{
|
||||
$this->displayInformation($this->l('This interface allows you to display detailed informations on your order.').'<br />');
|
||||
|
||||
$this->show_toolbar = false;
|
||||
$this->show_toolbar = true;
|
||||
$this->toolbar_fix = false;
|
||||
$this->table = 'supplier_order_detail';
|
||||
$this->identifier = 'id_supplier_order_detail';
|
||||
@@ -1578,8 +1578,9 @@ class AdminSupplierOrdersControllerCore extends AdminController
|
||||
'supplier_order_total_tax' => $supplier_order->total_tax,
|
||||
'supplier_order_total_ti' => $supplier_order->total_ti,
|
||||
);
|
||||
// sets toolbar title with order reference
|
||||
$this->toolbar_title = sprintf($this->l('View Supplier Order #%s'), $supplier_order->reference);
|
||||
}
|
||||
|
||||
return parent::initView();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user