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
d52bb5a0
authored
Jan 15, 2019
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
退款申请已处理或已拒绝,则隐藏退款按钮
parent
4385575f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
resources/views/detail/content.blade.php
resources/views/detail/content.blade.php
View file @
d52bb5a0
...
...
@@ -662,7 +662,7 @@
@endif
@if (in_array($order_info['status'], array(3, 4, 7)))
<a
href=
"{{URL('refund', ['order_id'=>$order_info['order_id']])}}"
class=
"btn btn-info"
>
退货退款
</a>
<a
href=
"{{URL('refund', ['order_id'=>$order_info['order_id']])}}"
class=
"btn btn-info
order_refund
"
>
退货退款
</a>
@endif
<!-- 已发货之后的状态 -->
...
...
@@ -818,7 +818,14 @@
</div>
</div>
<script>
// 退款申请已处理或已拒绝,则隐藏退款按钮
var
refund
=
"{{!empty($order_refund_info) && ($order_refund_info['status'] == -1 || $order_refund_info['status'] == 10) ? false : true}}"
;
if
(
refund
)
{
$
(
'.order_refund'
).
show
();
}
else
{
$
(
'.order_refund'
).
hide
();
}
$
.
lie
.
order
.
details
();
</script>
\ No newline at end of file
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