182 if(!self::$ALL_DESCRIPTIONS[LANGUAGE_ID])
184 IncludeModuleLangFile(__FILE__);
185 self::$ALL_DESCRIPTIONS[LANGUAGE_ID] = array(
186 self::ORDER => GetMessage(
'SALE_TYPE_ORDER'),
187 self::SHIPMENT => GetMessage(
'SALE_TYPE_SHIPMENT'),
188 self::PAYMENT_CASH => GetMessage(
'SALE_TYPE_PAYMENT_CASH'),
189 self::PAYMENT_CASH_LESS => GetMessage(
'SALE_TYPE_PAYMENT_CASH_LESS'),
190 self::PAYMENT_CARD_TRANSACTION => GetMessage(
'SALE_TYPE_PAYMENT_CARD_TRANSACTION'),
191 self::PROFILE => GetMessage(
'SALE_TYPE_PROFILE'),
192 self::USER_PROFILE => GetMessage(
'SALE_TYPE_USER_PROFILE'),
193 self::USER_PROFILE_CONTACT_COMPANY => GetMessage(
'SALE_TYPE_USER_PROFILE'),
194 self::INVOICE => GetMessage(
'SALE_TYPE_INVOICE'),
195 self::INVOICE_SHIPMENT => GetMessage(
'SALE_TYPE_INVOICE_SHIPMENT'),
196 self::INVOICE_PAYMENT_CASH => GetMessage(
'SALE_TYPE_INVOICE_PAYMENT_CASH'),
197 self::INVOICE_PAYMENT_CASH_LESS => GetMessage(
'SALE_TYPE_INVOICE_PAYMENT_CASH_LESS'),
198 self::INVOICE_PAYMENT_CARD_TRANSACTION => GetMessage(
'SALE_TYPE_INVOICE_PAYMENT_CARD_TRANSACTION'),
202 return self::$ALL_DESCRIPTIONS[LANGUAGE_ID];