Commit 41330d8d by 朱继来

调整支付时间展示

parent 3ee7bf25
Showing with 9 additions and 9 deletions
......@@ -309,24 +309,24 @@
</tr>
@endif
<tr>
@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']);
echo $v['order_pay_time'] != 0 ? date('Y-m-d H:i:s', $v['order_pay_time']) : '';
} else {
echo date('Y-m-d', $v['advance_pay_time']);
}
} else {
echo '';
echo $v['order_pay_time'] != 0 ? date('Y-m-d', $v['order_pay_time']) : '';
}
}
?>
......
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