Commit 41330d8d by 朱继来

调整支付时间展示

parent 3ee7bf25
Showing with 13 additions and 13 deletions
......@@ -309,25 +309,25 @@
</tr>
@endif
<tr>
<td class="table-list-title">支付时间</td>
@if ($v['status'] == 2)
<td class="table-list-title">付款截止时间</td>
@else
<td class="table-list-title">支付时间</td>
@endif
<td class="table-list-content">
<?php
if ($v['order_pay_time'] != 0) {
if ($v['status'] == 3) {
if ($username != 'vpadmin@ichunt.com') {
echo date('Y-m-d H:i:s', $v['order_pay_time']);
echo $v['advance_pay_time'] != 0 ? date('Y-m-d H:i:s', $v['advance_pay_time']) : '';
} else {
echo date('Y-m-d', $v['order_pay_time']);
}
echo $v['advance_pay_time'] != 0 ? date('Y-m-d', $v['advance_pay_time']) : '';
}
} else {
if ($v['advance_pay_time'] != 0) {
if ($username != 'vpadmin@ichunt.com') {
echo date('Y-m-d H:i:s', $v['advance_pay_time']);
} else {
echo date('Y-m-d', $v['advance_pay_time']);
}
if ($username != 'vpadmin@ichunt.com') {
echo $v['order_pay_time'] != 0 ? date('Y-m-d H:i:s', $v['order_pay_time']) : '';
} else {
echo '';
}
echo $v['order_pay_time'] != 0 ? date('Y-m-d', $v['order_pay_time']) : '';
}
}
?>
</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment