// 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:
bMancone committed 2011-11-07 17:07:24 +00:00
1 parent 6535835ca2
commit 701a75adde
2 files changed
+4 -8

No files matched your search

@@ -27,14 +27,9 @@
{extends file="helper/view/view.tpl"} {extends file="helper/view/view.tpl"}
{block name="override_tpl"} {block name="override_tpl"}
<div>
<h2>{l s='Supplier Order'} #{$supplier_order_reference}</h2>
</div>
<div style="margin-top: 20px;"> <div style="margin-top: 20px;">
<fieldset> <fieldset>
<legend>{l s='Order'} #{$supplier_order_reference}</legend> <legend>{l s='General informations'}</legend>
<table style="width: 400px;" classe="table"> <table style="width: 400px;" classe="table">
<tr> <tr>
<td>{l s='Employee:'}</td> <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->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->toolbar_fix = false;
$this->table = 'supplier_order_detail'; $this->table = 'supplier_order_detail';
$this->identifier = 'id_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_tax' => $supplier_order->total_tax,
'supplier_order_total_ti' => $supplier_order->total_ti, '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(); return parent::initView();
} }