nizongfeng 2 years ago
parent
commit
02a046e063
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      addons/unishop/application/admin/controller/unishop/Order.php

+ 2
- 1
addons/unishop/application/admin/controller/unishop/Order.php View File

@@ -521,12 +521,13 @@ class Order extends Backend
user.email,
GROUP_CONCAT(unishop_order_product.title) as title,
o.total_price,
o.refund_fee,
SUM(unishop_order_product.number) as number,
o.remark')
->group("o.id")
->select();
$list = collection($list)->toArray();
$title = ['工号','姓名','楼层','邮箱','商品','金额','购买数量','备注'];
$title = ['工号','姓名','楼层','邮箱','商品','支付金额','退款金额','购买数量','备注'];
// Create new Spreadsheet object
$spreadsheet = new \PhpOffice\PhpSpreadsheet\Spreadsheet();
$sheet = $spreadsheet->getActiveSheet();


Loading…
Cancel
Save