Эх сурвалжийг харах

fleat: update customer_detail

igb 19 цаг өмнө
parent
commit
7594cf638d
1 өөрчлөгдсөн 23 нэмэгдсэн , 23 устгасан
  1. 23 23
      customer_detail.php

+ 23 - 23
customer_detail.php

@@ -437,8 +437,8 @@ function getPaymentStatusText($status) {
                         <th>销售订单号</th>
                         <th>下单日期</th>
                         <th>订单金额</th>
-                        <th>订单状态</th>
-                        <th>付款状态</th>
+<!--                        <th>订单状态</th>-->
+<!--                        <th>付款状态</th>-->
                         <th>业务员</th>
                     </tr>
                 </thead>
@@ -448,27 +448,27 @@ function getPaymentStatusText($status) {
                         <td><?php echo htmlspecialchars($order['order_code']); ?></td>
                         <td><?php echo date('Y-m-d', strtotime($order['order_date'])); ?></td>
                         <td><?php echo htmlspecialchars($order['currency']) . ' ' . number_format($order['total_amount'], 2); ?></td>
-                        <td>
-                            <?php 
-                            $statusText = getOrderStatusText($order['order_status']);
-                            $statusClass = '';
-                            if ($order['order_status'] == 5) $statusClass = 'success';
-                            else if ($order['order_status'] == 0) $statusClass = 'danger';
-                            else if ($order['order_status'] >= 2) $statusClass = 'info';
-                            else $statusClass = 'warning';
-                            echo '<span class="status-badge ' . $statusClass . '">' . htmlspecialchars($statusText) . '</span>';
-                            ?>
-                        </td>
-                        <td>
-                            <?php 
-                            $paymentText = getPaymentStatusText($order['payment_status']);
-                            $paymentClass = '';
-                            if ($order['payment_status'] == 2) $paymentClass = 'success';
-                            else if ($order['payment_status'] == 1) $paymentClass = 'warning';
-                            else $paymentClass = 'danger';
-                            echo '<span class="status-badge ' . $paymentClass . '">' . htmlspecialchars($paymentText) . '</span>';
-                            ?>
-                        </td>
+<!--                        <td>-->
+<!--                            --><?php //
+//                            $statusText = getOrderStatusText($order['order_status']);
+//                            $statusClass = '';
+//                            if ($order['order_status'] == 5) $statusClass = 'success';
+//                            else if ($order['order_status'] == 0) $statusClass = 'danger';
+//                            else if ($order['order_status'] >= 2) $statusClass = 'info';
+//                            else $statusClass = 'warning';
+//                            echo '<span class="status-badge ' . $statusClass . '">' . htmlspecialchars($statusText) . '</span>';
+//                            ?>
+<!--                        </td>-->
+<!--                        <td>-->
+<!--                            --><?php //
+//                            $paymentText = getPaymentStatusText($order['payment_status']);
+//                            $paymentClass = '';
+//                            if ($order['payment_status'] == 2) $paymentClass = 'success';
+//                            else if ($order['payment_status'] == 1) $paymentClass = 'warning';
+//                            else $paymentClass = 'danger';
+//                            echo '<span class="status-badge ' . $paymentClass . '">' . htmlspecialchars($paymentText) . '</span>';
+//                            ?>
+<!--                        </td>-->
                         <td><?php echo htmlspecialchars($order['sales_rep']); ?></td>
                     </tr>
                     <?php endforeach; ?>