Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
朱继来
/
后台订单管理
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e1752b37
authored
Jul 01, 2018
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
统计人数、订单数
parent
2bc9f226
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
app/Http/Controllers/OrderController.php
resources/views/orderlist/content.blade.php
app/Http/Controllers/OrderController.php
View file @
e1752b37
...
@@ -328,12 +328,15 @@ Class OrderController extends Controller
...
@@ -328,12 +328,15 @@ Class OrderController extends Controller
$page
->
setConfig
(
'theme'
,
'%FIRST% %UP_PAGE% %LINK_PAGE% %DOWN_PAGE% %END% %HEADER%'
);
$page
->
setConfig
(
'theme'
,
'%FIRST% %UP_PAGE% %LINK_PAGE% %DOWN_PAGE% %END% %HEADER%'
);
$show
=
$page
->
show
();
$show
=
$page
->
show
();
$info
[
'condition'
]
=
$map
;
$info
[
'condition'
]
=
$map
;
$info
[
'sale_list'
]
=
$sale_list
;
$info
[
'sale_list'
]
=
$sale_list
;
$info
[
'list'
]
=
$response
[
'data'
][
'data'
];
$info
[
'list'
]
=
$response
[
'data'
][
'data'
];
$info
[
'pay_count'
]
=
$response
[
'data'
][
'pay_count'
];
$info
[
'pay_count'
]
=
$response
[
'data'
][
'pay_count'
];
$info
[
'count'
]
=
$response
[
'data'
][
'count'
];
$info
[
'count'
]
=
$response
[
'data'
][
'count'
];
$info
[
'page'
]
=
$show
;
$info
[
'user_count'
]
=
$response
[
'data'
][
'user_count'
];
$info
[
'paid_user_count'
]
=
$response
[
'data'
][
'paid_user_count'
];
$info
[
'paid_order_count'
]
=
$response
[
'data'
][
'paid_order_count'
];
$info
[
'page'
]
=
$show
;
return
$info
;
return
$info
;
}
}
...
...
resources/views/orderlist/content.blade.php
View file @
e1752b37
...
@@ -379,8 +379,11 @@
...
@@ -379,8 +379,11 @@
</div>
</div>
<div
class=
"row-fluid pagination"
>
<div
class=
"row-fluid pagination"
>
@if ($username != 'vpadmin@ichunt.com')
@if ($username != 'vpadmin@ichunt.com')
<span>
<span
style=
"float: left; width: 55%;"
>
共{{$count ? $count : 0}}单,
共{{$count ? $count : 0}}单,
{{$paid_order_count}}单已付款(包含预付款),
下单用户数为{{$user_count}}人,
付款用户数为{{$paid_user_count}}人,
应付金额 ¥{{$pay_count['rmb_count'] ? $pay_count['rmb_count'] : 0}}, ${{$pay_count['usd_count'] ? $pay_count['usd_count'] : 0}},
应付金额 ¥{{$pay_count['rmb_count'] ? $pay_count['rmb_count'] : 0}}, ${{$pay_count['usd_count'] ? $pay_count['usd_count'] : 0}},
实收金额 ¥{{$pay_count['rmb_pay'] ? $pay_count['rmb_pay'] : 0}},
实收金额 ¥{{$pay_count['rmb_pay'] ? $pay_count['rmb_pay'] : 0}},
${{$pay_count['usd_pay'] ? $pay_count['usd_pay'] : 0}}
${{$pay_count['usd_pay'] ? $pay_count['usd_pay'] : 0}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment