123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- <?php /*a:3:{s:64:"/data/web/mall.valimart.net/app/admin/view/bill/show_statis.html";i:1670990108;s:61:"/data/web/mall.valimart.net/app/admin/view/public/header.html";i:1657785098;s:66:"/data/web/mall.valimart.net/app/admin/view/public/admin_items.html";i:1657785098;}*/ ?>
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?><?php echo htmlentities(lang('system_backend')); ?></title>
- <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
- <link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
- <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
- <script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
- <script type="text/javascript">
- var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
- var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
- var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
- var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
- var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
- </script>
- </head>
- <body>
- <div id="append_parent"></div>
- <div id="ajaxwaitid"></div>
- <div class="page">
- <div class="fixed-bar">
- <div class="item-title">
- <div class="subject">
- <h3><?php echo htmlentities(lang('bill_billing_list')); ?></h3>
- </div>
- <?php if($admin_item): ?>
- <ul class="tab-base ds-row">
- <?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
- <li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
- <?php endforeach; endif; else: echo "" ;endif; ?>
- </ul>
- <?php endif; ?>
- </div>
- </div>
-
- <div class="fixed-empty"></div>
- <form method="get" action="" name="formSearch" id="formSearch">
- <div class="ds-search-form">
- <dl>
- <dt><?php echo htmlentities(lang('ds_store_name')); ?>ID/<?php echo htmlentities(lang('bill_store_name')); ?></dt>
- <dd><input class="txt-short" type="text" value="<?php echo htmlentities(app('request')->param('query_store')); ?>" name="query_store" id="query_store"/></dd>
- </dl>
- <dl>
- <dt><?php echo htmlentities(lang('bill_state')); ?></dt>
- <dd>
- <select name="bill_state">
- <option><?php echo htmlentities(lang('ds_please_choose')); ?></option>
- <option <?php if(app('request')->param('bill_state') == BILL_STATE_CREATE): ?>selected<?php endif; ?> value="<?php echo htmlentities(BILL_STATE_CREATE); ?>"><?php echo htmlentities(lang('bill_state_create')); ?></option>
- <option <?php if(app('request')->param('bill_state') == BILL_STATE_STORE_COFIRM): ?>selected<?php endif; ?> value="<?php echo htmlentities(BILL_STATE_STORE_COFIRM); ?>"><?php echo htmlentities(lang('bill_srate_store_cofirm')); ?></option>
- <option <?php if(app('request')->param('bill_state') == BILL_STATE_SUCCESS): ?>selected<?php endif; ?> value="<?php echo htmlentities(BILL_STATE_SUCCESS); ?>"><?php echo htmlentities(lang('bill_state_success')); ?></option>
- </select>
- </dd>
- </dl>
- <div class="btn_group">
- <a href="javascript:document.formSearch.submit();" class="btn " title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
- <a href="<?php echo url('Bill/show_statis'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
- <a class="btn" href="javascript:export_xls('<?php echo url('Bill/export_zd_step1'); ?>')"><span><?php echo htmlentities(lang('ds_export')); ?>Excel</span></a>
- </div>
- </div>
- </form>
- <div class="explanation" id="explanation">
- <div class="title" id="checkZoom">
- <h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
- <span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
- </div>
- <ul>
- <li><?php echo htmlentities(lang('bill_show_statis_help1')); ?></li>
- <li><?php echo htmlentities(lang('bill_show_statis_help2')); ?></li>
- </ul>
- </div>
- <table class="ds-default-table">
- <thead>
- <tr class="thead">
- <th><?php echo htmlentities(lang('bill_ob_no')); ?></th>
- <th class="align-center"><?php echo htmlentities(lang('bill_os_startdate')); ?></th>
- <th class="align-center"><?php echo htmlentities(lang('bill_os_enddate')); ?></th>
- <th class="align-center"><?php echo htmlentities(lang('order_price_from')); ?></th>
- <th class="align-center"><?php echo htmlentities(lang('order_total_transport')); ?></th>
- <th class="align-center"><?php echo htmlentities(lang('bill_print_commision')); ?></th>
- <th class="align-center"><?php echo htmlentities(lang('bill_ob_order_return_totals')); ?></th>
- <th class="align-center"><?php echo htmlentities(lang('bill_os_commis_returntotals')); ?></th>
- <th class="align-center"><?php echo htmlentities(lang('ob_inviter_totals')); ?></th>
- <th class="align-center"><?php echo htmlentities(lang('bill_ob_vr_order_totals')); ?></th>
- <th class="align-center"><?php echo htmlentities(lang('bill_ob_vr_order_return_totals')); ?></th>
- <th class="align-center"><?php echo htmlentities(lang('bill_ob_vr_commis_totals')); ?></th>
- <th class="align-center"><?php echo htmlentities(lang('bill_ob_vr_commis_return_totals')); ?></th>
- <th class="align-center"><?php echo htmlentities(lang('bill_ob_vr_inviter_totals')); ?></th>
- <th class="align-center"><?php echo htmlentities(lang('bill_os_store_costtotals')); ?></th>
- <th class="align-center"><?php echo htmlentities(lang('bill_os_mallvoucher_totals')); ?></th>
- <th class="align-center"><?php echo htmlentities(lang('bill_os_result_totals')); ?></th>
- <th class="align-center"><?php echo htmlentities(lang('bill_out_date')); ?></th>
- <th class="align-center"><?php echo htmlentities(lang('bill_state')); ?></th>
- <th class="align-center"><?php echo htmlentities(lang('ds_store_name')); ?></th>
- <th class="align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
- </tr>
- </thead>
- <tbody>
- <?php if(!(empty($bill_list) || (($bill_list instanceof \think\Collection || $bill_list instanceof \think\Paginator ) && $bill_list->isEmpty()))): if(is_array($bill_list) || $bill_list instanceof \think\Collection || $bill_list instanceof \think\Paginator): if( count($bill_list)==0 ) : echo "" ;else: foreach($bill_list as $key=>$bill_info): ?>
- <tr class="hover">
- <td><?php echo htmlentities($bill_info['ob_no']); ?></td>
- <td class="nowrap align-center"><?php echo htmlentities(date('Y-m-d',!is_numeric($bill_info['ob_startdate'])? strtotime($bill_info['ob_startdate']) : $bill_info['ob_startdate'])); ?></td>
- <td class="nowrap align-center"><?php echo htmlentities(date('Y-m-d',!is_numeric($bill_info['ob_enddate'])? strtotime($bill_info['ob_enddate']) : $bill_info['ob_enddate'])); ?></td>
- <td class="align-center"><?php echo htmlentities($bill_info['ob_order_totals']); ?></td>
- <td class="align-center"><?php echo htmlentities($bill_info['ob_shipping_totals']); ?></td>
- <td class="align-center"><?php echo htmlentities($bill_info['ob_commis_totals']); ?></td>
- <td class="align-center"><?php echo htmlentities($bill_info['ob_order_return_totals']); ?></td>
- <td class="align-center"><?php echo htmlentities($bill_info['ob_commis_return_totals']); ?></td>
- <td class="align-center"><?php echo htmlentities($bill_info['ob_inviter_totals']); ?></td>
- <td class="align-center"><?php echo htmlentities($bill_info['ob_vr_order_totals']); ?></td>
- <td class="align-center"><?php echo htmlentities($bill_info['ob_vr_order_return_totals']); ?></td>
- <td class="align-center"><?php echo htmlentities($bill_info['ob_vr_commis_totals']); ?></td>
- <td class="align-center"><?php echo htmlentities($bill_info['ob_vr_commis_return_totals']); ?></td>
- <td class="align-center"><?php echo htmlentities($bill_info['ob_vr_inviter_totals']); ?></td>
- <td class="align-center"><?php echo htmlentities($bill_info['ob_store_cost_totals']); ?></td>
- <td class="align-center"><?php echo htmlentities($bill_info['ob_mall_voucher_totals']); ?></td>
- <td class="align-center"><?php echo htmlentities($bill_info['ob_result_totals']); ?></td>
- <td class="align-center"><?php echo htmlentities(date('Y-m-d',!is_numeric($bill_info['ob_createdate'])? strtotime($bill_info['ob_createdate']) : $bill_info['ob_createdate'])); ?></td>
- <td class="align-center"><?php echo get_bill_state($bill_info['ob_state']); ?></td>
- <td class="align-center"><?php echo htmlentities($bill_info['ob_store_name']); ?><br/>id:<?php echo htmlentities($bill_info['ob_store_id']); ?></td>
- <td class="align-center">
- <a href="javascript:dsLayerOpen('<?php echo url('Bill/show_bill',['ob_no'=>$bill_info['ob_no']]); ?>','<?php echo htmlentities(lang('ds_view')); ?>-<?php echo htmlentities($bill_info['ob_no']); ?>')" class="dsui-btn-view"><i class="iconfont"></i><?php echo htmlentities(lang('ds_view')); ?></a>
- </td>
- </tr>
- <?php endforeach; endif; else: echo "" ;endif; else: ?>
- <tr class="no_data">
- <td colspan="19"><?php echo htmlentities(lang('ds_no_record')); ?></td>
- </tr>
- <?php endif; ?>
- </tbody>
-
- </table>
- <div><?php echo $show_page; ?></div>
- </div>
- <script type="text/javascript">
- $(function(){
- $('#bill_month').datepicker({dateFormat:'yy-mm'});
- });
- </script>
|