Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
semour
/
semour_admin
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
16b9effe
authored
Nov 11, 2022
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
详情打开新窗口
parent
5c9d70ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
app/Admin/Controllers/OrderController.php
app/Admin/Controllers/OrderController.php
View file @
16b9effe
...
...
@@ -57,7 +57,7 @@ class OrderController extends AdminController
});
$grid
->
column
(
'order_id'
,
"ID"
);
$grid
->
column
(
'order_sn'
)
->
width
(
'120px'
)
->
display
(
function
()
{
return
'<a
href="
/admin/order/page?order_id="'
.
$this
->
user_id
.
' >'
.
$this
->
order_sn
.
'</a>'
;
return
'<a
iframe-extends=true iframe-tab=true href="http://semour.semourdev.net
/admin/order/page?order_id="'
.
$this
->
user_id
.
' >'
.
$this
->
order_sn
.
'</a>'
;
});
$grid
->
column
(
'status'
)
->
using
(
admin_trans
(
'order.options.status'
))
->
sortable
();
$grid
->
column
(
'company_name'
)
->
display
(
function
(
$company_name
)
{
...
...
@@ -227,7 +227,8 @@ JS
}
public
function
page
(
Content
$content
){
// return view('admin.pages.order-page');
return
$content
->
body
(
new
OrderDetailPage
());
return
view
(
'admin.pages.order-page'
);
// return $content->body(new OrderDetailPage());
}
}
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