uawdijnntqw1x1x1
IP : 3.148.217.66
Hostname : axolotl
Kernel : Linux axolotl 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
www
/
axolotl
/
data
/
www
/
yar.axolotls.ru
/
1c9cb
/
..
/
bitrix
/
modules
/
crm
/
lib
/
invoicespec.php
/
/
<?php /** * Bitrix Framework * @package bitrix * @subpackage sale * @copyright 2001-2013 Bitrix */ namespace Bitrix\Crm; use Bitrix\Main\Entity; use Bitrix\Main\Localization\Loc; Loc::loadMessages(__FILE__); class InvoiceSpecTable extends Entity\DataManager { public static function getTableName() { return 'b_crm_invoice_basket'; } public static function getMap() { global $DB, $DBType; if (function_exists('___dbCastIntToChar') !== true) { eval( 'function ___dbCastIntToChar($dbtype, $param)'. '{'. ' $result = $param;'. ' if (ToLower($dbtype) === "mssql")'. ' {'. ' $result = "CAST(".$param." AS VARCHAR)";'. ' }'. ' return $result;'. '}' ); } return array( 'ID' => array( 'data_type' => 'integer', 'primary' => true, 'autocomplete' => true, ), 'DATE_INSERT' => array( 'data_type' => 'datetime' ), 'DATE_INS' => array( 'data_type' => 'datetime', 'expression' => array( $DB->datetimeToDateFunction('%s'), 'DATE_INSERT' ) ), 'DATE_UPDATE' => array( 'data_type' => 'datetime' ), 'DATE_UPD' => array( 'data_type' => 'datetime', 'expression' => array( $DB->datetimeToDateFunction('%s'), 'DATE_UPDATE' ) ), 'PRODUCT_ID' => array( 'data_type' => 'integer' ), 'NAME' => array( 'data_type' => 'string' ), 'NAME_WITH_IDENT' => array( 'data_type' => 'string', 'expression' => array( $DB->concat('%s', '\' [\'', ___dbCastIntToChar($DBType, '%s'), '\']\''), 'NAME', 'PRODUCT_ID' ) ), 'IBLOCK_ELEMENT' => array( 'data_type' => 'IBlockElementProxy', 'reference' => array('=this.PRODUCT_ID' => 'ref.ID') ), 'ORDER_ID' => array( 'data_type' => 'integer' ), 'INVOICE' => array( 'data_type' => 'Invoice', 'reference' => array('=this.ORDER_ID' => 'ref.ID') ), 'PRICE' => array( 'data_type' => 'float' ), 'VAT_RATE' => array( 'data_type' => 'float' ), 'VAT_RATE_PRC' => array( 'data_type' => 'float', 'expression' => array( '100 * %s', 'VAT_RATE' ) ), 'QUANTITY' => array( 'data_type' => 'float' ), 'NOTES' => array( 'data_type' => 'string' ), 'LID' => array( 'data_type' => 'string' ), 'SUMMARY_PRICE' => array( 'data_type' => 'float', 'expression' => array( '(%s * %s)', 'QUANTITY', 'PRICE' ) ) ); } }
/var/www/axolotl/data/www/yar.axolotls.ru/1c9cb/../bitrix/modules/crm/lib/invoicespec.php