|
|
@@ -535,6 +535,7 @@ class Order extends Backend |
|
|
|
unishop_order_product.price, |
|
|
|
FROM_UNIXTIME(o.createtime,\'%Y-%m-%d %H:%i:%S\'), |
|
|
|
if(o.is_carry=1,\'已提货\',\'未提货\'), |
|
|
|
o.total_price, |
|
|
|
ifnull(o.refund_fee,o), |
|
|
|
if(o.status=1,\'正常\',\'退款\'), |
|
|
|
o.remark') |
|
|
@@ -542,7 +543,7 @@ class Order extends Backend |
|
|
|
->order("o.createtime","desc") |
|
|
|
->select(); |
|
|
|
$list = collection($list)->toArray(); |
|
|
|
$title = ['订单号','工号','姓名','楼层','邮箱','商品','购买数量','总金额','下单时间','是否提货','退款金额','状态','备注']; |
|
|
|
$title = ['订单号','工号','姓名','楼层','邮箱','商品','购买数量','金额','下单时间','是否提货','订单总金额','退款金额','状态','备注']; |
|
|
|
// Create new Spreadsheet object |
|
|
|
$spreadsheet = new \PhpOffice\PhpSpreadsheet\Spreadsheet(); |
|
|
|
$sheet = $spreadsheet->getActiveSheet(); |
|
|
|