HEX
Server: nginx/1.22.1
System: Linux VM-16-9-centos 3.10.0-1160.99.1.el7.x86_64 #1 SMP Wed Sep 13 14:19:20 UTC 2023 x86_64
User: www (1001)
PHP: 7.3.31
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,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,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/oa.sanjiangapp.com/app/cash/trade/config.php
<?php
/**
 * The config file of trade module of ZDOO.
 *
 * @copyright   Copyright 2009-2018 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv12.html)
 * @author      Tingting Dai <daitingting@xirangit.com>
 * @package     trade 
 * @version     $Id$
 * @link        http://www.zdoo.com
 */
$config->trade->loadedSettingFromDB = false;

$config->trade->settings = new stdclass();
$config->trade->settings->trader       = false;
$config->trade->settings->category     = false;
$config->trade->settings->product      = false;
$config->trade->settings->dept         = false;
$config->trade->settings->lastCategory = false;

$config->trade->require = new stdclass();
$config->trade->require->create = 'depositor,money,type,handlers,date';
$config->trade->require->edit   = 'depositor,money,type,handlers,date';
$config->trade->require->invest = 'depositor,money,type,handlers';
$config->trade->require->loan   = 'depositor,money,type,handlers';

$config->trade->batchCreateCount = 10;

$config->trade->importField = 'category,dept,trader,type,money,desc,date,fee,product,handlers,otherDepositor';

global $lang;
$config->trade->search['module'] = 'trade';

$config->trade->search['fields']['depositor']   = $lang->trade->depositor;
$config->trade->search['fields']['product']     = $lang->trade->product;
$config->trade->search['fields']['type']        = $lang->trade->type;
$config->trade->search['fields']['trader']      = $lang->trade->trader;
$config->trade->search['fields']['contract']    = $lang->trade->contract;
$config->trade->search['fields']['money']       = $lang->trade->money;
$config->trade->search['fields']['category']    = $lang->trade->category;
$config->trade->search['fields']['dept']        = $lang->trade->dept;
$config->trade->search['fields']['handlers']    = $lang->trade->handlers;
$config->trade->search['fields']['date']        = $lang->trade->date;
$config->trade->search['fields']['createdDate'] = $lang->trade->createdDate;
$config->trade->search['fields']['id']          = $lang->trade->id;
$config->trade->search['fields']['desc']        = $lang->trade->desc;

$config->trade->search['params']['depositor']   = array('operator' => '=',  'control' => 'select', 'values' => 'set in control');
$config->trade->search['params']['product']     = array('operator' => '=',  'control' => 'select', 'values' => 'set in control');
$config->trade->search['params']['type']        = array('operator' => '=',  'control' => 'select', 'values' => array('' => '') + $lang->trade->typeList);
$config->trade->search['params']['trader']      = array('operator' => '=',  'control' => 'select', 'values' => 'set in control');
$config->trade->search['params']['contract']    = array('operator' => '=',  'control' => 'select', 'values' => 'set in control');
$config->trade->search['params']['money']       = array('operator' => '>=', 'control' => 'input',  'values' => '');
$config->trade->search['params']['category']    = array('operator' => '=',  'control' => 'select', 'values' => 'set in control');
$config->trade->search['params']['dept']        = array('operator' => '=',  'control' => 'select', 'values' => 'depts');
$config->trade->search['params']['handlers']    = array('operator' => 'include', 'control' => 'select', 'values' => 'users');
$config->trade->search['params']['date']        = array('operator' => '>=', 'control' => 'input', 'values' => '', 'class' => 'date');
$config->trade->search['params']['createdDate'] = array('operator' => '>=', 'control' => 'input', 'values' => '', 'class' => 'date');
$config->trade->search['params']['id']          = array('operator' => '=',  'control' => 'input',  'values' => '');
$config->trade->search['params']['desc']        = array('operator' => 'include', 'control' => 'input', 'values' => '');

$config->trade->report = new stdclass();
$config->trade->report->annual = array('productLine', 'category', 'area', 'industry', 'size', 'dept');

$config->trade->groupBy['productLine'] = 'product|line|product';
$config->trade->groupBy['category']    = 'trade|category|';
$config->trade->groupBy['area']        = 'customer|area|trader';
$config->trade->groupBy['industry']    = 'customer|industry|trader';
$config->trade->groupBy['size']        = 'customer|size|trader';
$config->trade->groupBy['dept']        = 'trade|dept|';

$config->trade->exportFields = '
  id, depositor, type, money, currency, category, trader, date,
  desc, dept, handlers, product, order, contract,
  createdBy, createdDate, editedBy, editedDate, detail';

$config->trade->excel = new stdclass();
$config->trade->excel->numberFields = array('undefined', 'total');
$config->trade->excel->customWidth  = array('undefined' => 15, 'total' => 15);

/* Excel items. */
$config->excel->freeze->depositor = 'month';