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/crm/order/view/create.html.php
<?php
/**
 * The view file for create function of order 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     order
 * @version     $Id$
 * @link        http://www.zdoo.com
 */
?>
<?php include '../../common/view/header.html.php';?>
<div class='panel'>
  <div class='panel-heading'>
    <strong><?php echo $lang->order->create;?></strong>
  </div>
  <div class='panel-body'>
    <form method='post' id='orderForm'>
      <table class='table table-form w-p60'>
        <tbody>
          <tr>
            <th class='w-120px'><?php echo $lang->order->customer;?></th>
            <td>
              <div class='input-group'>
                <?php echo html::select('customer', $customers, $customer, "class='form-control chosen' data-no_results_text='" . $lang->searchMore . "'");?>
                <?php if(commonModel::hasPriv('customer', 'create')):?>
                <?php echo html::input('customerName', '', "class='form-control rounded-left' style='display:none'");?>
                <span class='input-group-addon'>
                  <label class='checkbox-inline'>
                    <input type='checkbox' name='createCustomer' id='createCustomer' value='1' /> <?php echo $lang->order->createCustomer?>
                  </label>
                </span>
                <?php endif;?>
              </div>
            </td>
          </tr>
          <tr class='customerInfo hide'>
            <th><?php echo $lang->customer->contact;?></th>
            <td>
              <div class='required required-wrapper'></div>
              <?php echo html::input('contact', '', "class='form-control'");?>
            </td>
          </tr>
          <tr class='customerInfo hide'>
            <th><?php echo $lang->customer->phone;?></th>
            <td><?php echo html::input('phone', '', "class='form-control'");?></td>
          </tr>
          <tr class='customerInfo hide'>
            <th><?php echo $lang->customer->email;?></th>
            <td><?php echo html::input('email', '', "class='form-control'");?></td>
          </tr>
          <tr class='customerInfo hide'>
            <th><?php echo $lang->customer->qq;?></th>
            <td><?php echo html::input('qq', '', "class='form-control'");?></td>
          </tr>
          <tr class='customerInfo hide'>
            <th><?php echo $lang->customer->weixin;?></th>
            <td><?php echo html::input('weixin', '', "class='form-control'");?></td>
          </tr>
          <tr>
            <th><?php echo $lang->order->product;?></th>
            <td>
              <div class='input-group'>
                <?php echo html::select('product[]', $products, '', "class='form-control chosen' multiple");?>
                <?php if(commonModel::hasPriv('product', 'create')):?>
                <?php echo html::input('productName', '', "class='form-control rounded-left' style='display:none'");?>
                <span class='input-group-addon'>
                  <label class='checkbox-inline'>
                    <input type='checkbox' name='createProduct' id='createProduct' value='1' /> <?php echo $lang->order->createProduct?>
                  </label>
                </span>
                <?php endif;?>
              </div>
            </td>
          </tr>
          <tr class='productInfo hide'>
            <th><?php echo $lang->product->code;?></th>
            <td>
              <div class='required required-wrapper'></div>
              <?php echo html::input("code", '', "class='form-control' placeHolder='{$lang->product->placeholder->code}'");?>
            </td>
          </tr>
          <tr class='productInfo hide'>
            <th><?php echo $lang->product->category;?></th>
            <td><?php echo html::select("category", $productCategories, '', "class='form-control chosen'");?></td>
          </tr>
          <tr class='productInfo hide'>
            <th><?php echo $lang->product->subject;?></th>
            <td><?php echo html::select("subject", $subjects, '', "class='form-control'");?></td>
          </tr>
          <tr class='productInfo hide'>
            <th><?php echo $lang->product->type;?></th>
            <td><?php echo html::select("type", $lang->product->typeList, '', "class='form-control'") . html::hidden('status', 'normal');?></td>
          </tr>
          <tr>
            <th><?php echo $lang->order->plan;?></th>
            <td>
              <div class='row'>
                <div class='col-sm-3'><?php echo html::select('currency', $currencyList, '', "class='form-control'");?></div>
                <div class='col-sm-9'><?php echo html::input('plan', '', "class='form-control'");?></div>
              </div>
            </td>
          </tr>
          <?php if(commonModel::hasPriv('file', 'upload')):?>
          <tr>
            <th><?php echo $lang->files;?></th>
            <td><?php echo $this->fetch('file', 'buildForm');?></td>
          </tr>
          <?php endif;?>
        </tbody>
        <tfoot>
          <tr>
            <td></td>
            <td class='form-actions'>
              <?php echo html::submitButton() . html::backButton();?>
              <div id='duplicateError' class='hide'></div>
            </td>
          </tr>
        </tfoot>
      </table>
    </form>
  </div>
</div>
<div class='errorMessage hide'>
  <div class='alert alert-danger alert-dismissable'>
    <button aria-hidden='true' data-dismiss='alert' class='close' type='button'>×</button>
    <button type='button' class='btn btn-default' id='continueSubmit'><?php echo $lang->continueSave;?></button>
  </div>
</div>
<script>
<?php helper::import('../js/searchcustomer.js');?>
</script>
<?php include '../../common/view/footer.html.php';?>