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
19a6281d
authored
Feb 13, 2019
by
朱继来
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'zjl_cancel_order_20190213' into development
parents
ae73ce6e
ccabf4ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
app/Http/Controllers/RefundController.php
resources/views/detail/content.blade.php
app/Http/Controllers/RefundController.php
View file @
19a6281d
...
...
@@ -172,7 +172,7 @@ class RefundController extends Controller
if
(
!
$refund
)
echo
'未获取到退款单'
;
$data
[
'order_id'
]
=
$refund
->
order_id
;
$data
[
'refund_amount'
]
=
number_format
(
$refund
->
pay_amount
-
$refund
->
price_fall
,
2
);
$data
[
'refund_amount'
]
=
number_format
(
$refund
->
pay_amount
-
$refund
->
price_fall
,
2
,
'.'
,
''
);
$data
[
'pay_code'
]
=
'unionpay'
;
$url
=
Config
(
'website.api_domain'
)
.
'refund/recharge'
;
...
...
resources/views/detail/content.blade.php
View file @
19a6281d
...
...
@@ -631,7 +631,7 @@
@if (!isset($_REQUEST['tags'])
&&
$action_name != 'changeOrder'
&&
$action_name != 'sendSales')
<p
style=
"padding-left: 5px;"
>
操作
</p>
<div
class=
"tabs-box"
>
@if (in_array($order_info['status'], [1, 2])
&&
in_array('cancel_order', $userPerms))
@if (in_array($order_info['status'], [1, 2
, 4
])
&&
in_array('cancel_order', $userPerms))
<!-- <a href="{{URL('cancelPay', ['order_id'=>$order_info['order_id']])}}" class="btn btn-danger">取消订单</a> -->
<a
class=
"btn btn-danger input-cancel-reason"
href=
"javascript:;"
data-oid=
"{{$order_info['order_id']}}"
data-type=
"2"
>
取消订单
</a>
@endif
...
...
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