|
|
@@ -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(); |
|
|
|