[-] FO : #PSTEST-771 - Add description to supplier's product list

This commit is contained in:
mDeflotte
2012-02-16 16:48:07 +00:00
parent a61db348a3
commit a80402d019
2 changed files with 8 additions and 2 deletions
@@ -86,10 +86,11 @@ class AdminSuppliersControllerCore extends AdminController
'hint' => $this->l('Invalid characters:').' <>;=#{}',
),
array(
'type' => 'text',
'type' => 'textarea',
'label' => $this->l('Description:'),
'name' => 'description',
'size' => 33,
'cols' => 60,
'rows' => 10,
'lang' => true,
'hint' => $this->l('Invalid characters:').' <>;=#{}',
'desc' => $this->l('Will appear in supplier list')
+5
View File
@@ -30,6 +30,11 @@
{if !isset($errors) OR !sizeof($errors)}
<h1>{l s='List of products by supplier:'}&nbsp;{$supplier->name|escape:'htmlall':'UTF-8'}</h1>
{if !empty($supplier->description)}
<div class="description_box">
<p>{$supplier->description}</p>
</div>
{/if}
{if $products}
<div class="sortPagiBar clearfix">