04-03-2015, 09:43 AM
|
|
|
|
X-Adept
|
|
Join Date: Apr 2009
Posts: 678
|
|
|
Re: Adding Images to the Invoice
Tony,
Does this look right?
PHP Code:
namespace XLite\Module\FasterThanYours\ImagesOnGeneralInfoTab\View;
class OrderItem extends \XLite\View\ItemsList\Model\OrderItem implements \XLite\Base\IDecorator { protected function defineRepositoryName() { return '\XLite\Model\Product'; } protected function defineColumns() { return array( 'image' => array( static::COLUMN_NAME => 'Image', static::COLUMN_ORDERBY => 100, ), ); } }
__________________
X-Cart 4.3
Joomla
Among other things
|
|