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
72009052
authored
Jan 02, 2019
by
朱继来
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'zjl_client_to_erp_20181228'
parents
8d6c24eb
f97b8d1d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
resources/views/amount/content.blade.php
resources/views/amount/content.blade.php
View file @
72009052
...
...
@@ -48,10 +48,7 @@
<td>
{{$vo['order_sn']}}
</td>
<td>
<?php
// 全款
if
(
$vo
[
'order_pay_type'
]
==
1
)
{
echo
date
(
'Y-m-d H:i:s'
,
$vo
[
'pay_time'
]);
}
else
if
(
$vo
[
'order_pay_type'
]
==
2
)
{
// 预付款
if
(
$vo
[
'order_pay_type'
]
==
2
)
{
// 预付款
$exp
=
explode
(
','
,
$vo
[
'pay_time'
]);
$pay_amount
=
explode
(
','
,
$vo
[
'pay_amount'
]);
...
...
@@ -74,6 +71,8 @@
echo
date
(
'Y-m-d H:i:s'
,
$exp
[
0
])
.
' (尾款)<br>'
.
date
(
'Y-m-d H:i:s'
,
$exp
[
1
])
.
' (首款)'
;
}
}
}
else
{
echo
date
(
'Y-m-d H:i:s'
,
$vo
[
'pay_time'
]);
}
?>
</td>
...
...
@@ -90,9 +89,7 @@
$currency
=
'$'
;
}
if
(
$vo
[
'order_pay_type'
]
==
1
)
{
// 全款
echo
$currency
.
$vo
[
'pay_amount'
];
}
else
if
(
$vo
[
'order_pay_type'
]
==
2
)
{
// 预付款
if
(
$vo
[
'order_pay_type'
]
==
2
)
{
// 预付款
$exp
=
explode
(
','
,
$vo
[
'pay_amount'
]);
if
(
count
(
$exp
)
==
1
)
{
...
...
@@ -108,6 +105,8 @@
echo
$currency
.
$exp
[
1
]
.
' (尾款)<br>'
.
$currency
.
$exp
[
0
]
.
' (首款)'
;
}
}
}
else
{
echo
$currency
.
$vo
[
'pay_amount'
];
}
?>
</td>
...
...
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