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
7fb12613
authored
Nov 24, 2022
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
订单详情
parent
51e518ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
app/Admin/Controllers/OrderController.php
resources/views/admin/pages/order-page.blade.php
app/Admin/Controllers/OrderController.php
View file @
7fb12613
...
...
@@ -307,7 +307,7 @@ JS
$info
[
"settlementInfo"
][
"order_total_amount_format"
]
=
decimal_number_format_usd
(
$info
[
"settlementInfo"
][
"order_total_amount"
]);
$info
[
"settlementInfo"
][
"order_user_pay_type"
]
=
$orderInfo
[
"order_user_pay_type"
];
$info
[
"settlementInfo"
][
"order_user_pay_type_cn"
]
=
Arr
::
get
(
Order
::
$ORDER_USER_PAY_TYPE
,
$orderInfo
[
"order_user_pay_type"
],
""
);
$info
[
"settlementInfo"
][
"order_user_pay_type_cn"
]
=
Arr
::
get
(
array_flip
(
Order
::
$ORDER_USER_PAY_TYPE
)
,
$orderInfo
[
"order_user_pay_type"
],
""
);
...
...
resources/views/admin/pages/order-page.blade.php
View file @
7fb12613
...
...
@@ -227,7 +227,7 @@
<select data="
1
" name="
country
" lay-filter="
countryChange
" style="
height
:
30
px
;
border
:
1
px
solid
#eee;background: transparent;width: 100%;">
<
option
value
=
""
>
请选择国家
</
option
>
@
foreach
(
\App\Models\Country
::
getCountryMap
()
as
$cid
=>
$cname
)
<
option
data
=
"
{
{$cname}
}
"
value
=
"
{
{$cid}}">{{$cname}
}
</option>
<
option
@
if
(
$info
[
'receiveInfo'
][
'country'
]
==
$cid
)
selected
@
endif
data
=
"
{
{$cname}
}
"
value
=
"
{
{$cid}}">{{$cname}
}
</option>
@endforeach
</select>
</div>
...
...
@@ -336,7 +336,7 @@
<select data="
2
" name="
country
" lay-filter="
countryChange
" style="
height
:
30
px
;
border
:
1
px
solid
#eee;background: transparent;width: 100%;">
<
option
value
=
""
>
请选择国家
</
option
>
@
foreach
(
\App\Models\Country
::
getCountryMap
()
as
$cid
=>
$cname
)
<
option
data
=
"
{
{$cname}
}
"
value
=
"
{
{$cid}}">{{$cname}
}
</option>
<
option
@
if
(
$info
[
'billingInfo'
][
'country'
]
==
$cid
)
selected
@
endif
data
=
"
{
{$cname}
}
"
value
=
"
{
{$cid}}">{{$cname}
}
</option>
@endforeach
</select>
</div>
...
...
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