[-] FO : #PSTEST-771 - Add description to supplier's product list
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -30,6 +30,11 @@
|
||||
|
||||
{if !isset($errors) OR !sizeof($errors)}
|
||||
<h1>{l s='List of products by supplier:'} {$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">
|
||||
|
||||
Reference in New Issue
Block a user