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/oa/refund/config.php
<?php
if(!isset($config->refund)) $config->refund = new stdclass();
$config->refund->require = new stdclass();
$config->refund->require->create      = 'name,dept,money,category,payee';
$config->refund->require->edit        = 'name,dept,money,category,payee';
$config->refund->require->createTrade = 'depositor,category,dept,handlers';

$config->refund->list = new stdclass();
$config->refund->list->exportFields = 'id, createdBy, createdDate, dept, name, category, money, status, related, reviewer, refundBy, refundDate';

$config->refund->editor = new stdclass();
$config->refund->editor->review = array('id' => 'reason', 'tools' => 'simple');

global $lang, $app;
$app->loadLang('refund', 'oa');

$config->refund->search['module'] = 'refund';

$config->refund->search['fields']['name']             = $lang->refund->name;
$config->refund->search['fields']['category']         = $lang->refund->category;
$config->refund->search['fields']['date']             = $lang->refund->date;
$config->refund->search['fields']['money']            = $lang->refund->money;
$config->refund->search['fields']['status']           = $lang->refund->status;
$config->refund->search['fields']['related']          = $lang->refund->related;
$config->refund->search['fields']['createdBy']        = $lang->refund->createdBy;
$config->refund->search['fields']['createdDate']      = $lang->refund->createdDate;
$config->refund->search['fields']['firstReviewer']    = $lang->refund->firstReviewer;
$config->refund->search['fields']['firstReviewDate']  = $lang->refund->firstReviewDate;
$config->refund->search['fields']['secondReviewer']   = $lang->refund->secondReviewer;
$config->refund->search['fields']['secondReviewDate'] = $lang->refund->secondReviewDate;
$config->refund->search['fields']['refundBy']         = $lang->refund->refundBy;
$config->refund->search['fields']['refundDate']       = $lang->refund->refundDate;
$config->refund->search['fields']['id']               = $lang->refund->id;

$config->refund->search['params']['name']             = array('operator' => 'include', 'control' => 'input',  'values' => '');
$config->refund->search['params']['category']         = array('operator' => '=', 'control' => 'select',  'values' => '');
$config->refund->search['params']['date']             = array('operator' => '>=', 'control' => 'input',  'values' => '', 'class' => 'date');
$config->refund->search['params']['money']            = array('operator' => '=', 'control' => 'input', 'values' => '');
$config->refund->search['params']['status']           = array('operator' => '=', 'control' => 'select', 'values' => array('' => '') + $lang->refund->statusList);
$config->refund->search['params']['related']          = array('operator' => 'include', 'control' => 'select', 'values' => '');
$config->refund->search['params']['createdBy']        = array('operator' => '=', 'control' => 'select', 'values' => '');
$config->refund->search['params']['createdDate']      = array('operator' => '>=', 'control' => 'input',  'values' => '', 'class' => 'date');
$config->refund->search['params']['firstReviewer']    = array('operator' => '=', 'control' => 'select', 'values' => '');
$config->refund->search['params']['firstReviewDate']  = array('operator' => '>=', 'control' => 'input',  'values' => '', 'class' => 'date');
$config->refund->search['params']['secondReviewer']   = array('operator' => '=', 'control' => 'select', 'values' => '');
$config->refund->search['params']['secondReviewDate'] = array('operator' => '>=', 'control' => 'input',  'values' => '', 'class' => 'date');
$config->refund->search['params']['refundBy']         = array('operator' => '=', 'control' => 'select', 'values' => '');
$config->refund->search['params']['refundDate']       = array('operator' => '>=', 'control' => 'input',  'values' => '', 'class' => 'date');
$config->refund->search['params']['id']               = array('operator' => '=', 'control' => 'input', 'values' => '');