From a8d3d3a8cab662e7713ecdec2be7f8b160138f75 Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Mon, 2 Jan 2012 17:19:11 +0000 Subject: [PATCH] [-] BO : #PSTEST-263 - Add attribute multilang to Tax class definition --- classes/tax/Tax.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/classes/tax/Tax.php b/classes/tax/Tax.php index 1b64f5ba8..9686a56f2 100644 --- a/classes/tax/Tax.php +++ b/classes/tax/Tax.php @@ -29,19 +29,19 @@ class TaxCore extends ObjectModel { /** @var string Name */ - public $name; + public $name; /** @var float Rate (%) */ - public $rate; + public $rate; /** @var bool active state */ - public $active; + public $active; /** @var boolean true if the tax has been historized */ - public $deleted = 0; + public $deleted = 0; /** @var string Account Number */ - public $account_number; + public $account_number; /** * @see ObjectModel::$definition @@ -49,6 +49,7 @@ class TaxCore extends ObjectModel public static $definition = array( 'table' => 'tax', 'primary' => 'id_tax', + 'multilang' => true, 'fields' => array( 'rate' => array('type' => self::TYPE_FLOAT, 'validate' => 'isFloat', 'required' => true), 'account_number' => array('type' => self::TYPE_STRING),