修改发出订单表格中不显示提货卡号数据的bug
修改批量导出订单菜单的路由为和订单列表一样
| | |
| | | return $this->render('index'); |
| | | } |
| | | } |
| | | |
| | | public function actionExport() |
| | | { |
| | | if (\Yii::$app->request->isAjax) { |
| | | $form = new OrderForm(); |
| | | $form->attributes = \Yii::$app->request->get(); |
| | | $form->attributes = \Yii::$app->request->post(); |
| | | return $this->asJson($form->search()); |
| | | } else { |
| | | return $this->render('index'); |
| | | } |
| | | } |
| | | |
| | | //订单详情 |
| | | public function actionDetail() |
| | |
| | | try { |
| | | $arr = []; |
| | | $arr['platform'] = $this->getPlatform($item->user); |
| | | $arr['ex_card_no'] = $item->ex_card_no; |
| | | $arr['order_no'] = $item->order_no; |
| | | $arr['pay_order_no'] = isset($item->paymentOrder->paymentOrderUnion->order_no) ? $item->paymentOrder->paymentOrderUnion->order_no : ''; |
| | | $arr['nickname'] = sprintf('%s(id:%s)', $item->user->nickname, $item->user->id); |