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
90aa1b00
authored
Jul 25, 2018
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
填写订单取消原因
parent
b8dda9f1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
app/Http/Controllers/OrderController.php
resources/views/detail/changeOrder.blade.php
resources/views/detail/content.blade.php
app/Http/Controllers/OrderController.php
View file @
90aa1b00
...
...
@@ -1087,7 +1087,7 @@ Class OrderController extends Controller
$log
[
'order_id'
]
=
$order_id
;
$log
[
'operator_id'
]
=
$request
->
user
->
userId
;
$log
[
'operator_type'
]
=
2
;
$log
[
'event'
]
=
'
再次调价'
;
$log
[
'event'
]
=
'
填写订单取消原因:'
.
$cancel_reason
;
$log
[
'ip'
]
=
get_client_ip
();
$log
[
'create_time'
]
=
time
();
DB
::
connection
(
'order'
)
->
table
(
'lie_order_action_log'
)
->
insert
(
$log
);
...
...
resources/views/detail/changeOrder.blade.php
View file @
90aa1b00
...
...
@@ -318,11 +318,13 @@
<th>
优惠金额:
</th>
<td>
{{$order_price_info['discount_amount']}}
</td>
</tr>
@if ($order_temp_info['order_pay_type'] == 2)
<tr>
<th>
定金:
</th>
<td>
{{$order_temp_info['deposit_amount']}}
</td>
</tr>
@endif
<tr>
<th>
订单总额:
</th>
...
...
resources/views/detail/content.blade.php
View file @
90aa1b00
...
...
@@ -482,7 +482,7 @@
@if (!empty($order_temp_info)
&&
$order_temp_info['status'] == 2)
<tr>
<td
width=
"10%"
>
是否为新用户:
</td>
<td>
{{ $order_temp_info['is_newclient'] == 1 ? '是' : '否' }}
</td>
<td
width=
"40%"
>
{{ $order_temp_info['is_newclient'] == 1 ? '是' : '否' }}
</td>
@if ($order_temp_info['is_newclient'] == 1)
<td
width=
"10%"
>
用户来源:
</td>
<td>
{{ $order_temp_info['client_source'] }}
</td>
...
...
@@ -493,7 +493,7 @@
@if ($order_info['status'] == -1)
<tr>
<td
width=
"10%"
>
订单取消原因:
</td>
<td>
{{ $order_info['cancel_reason'] }}
</td>
<td
colspan=
"3"
>
{{ $order_info['cancel_reason'] }}
</td>
</tr>
@endif
</table>
...
...
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