@php // class is not working, so use style $styleBackgroundColorBlue = 'background-color:#95d7f0;'; $styleBackgroundColorYellow = 'background-color:#FFFFC0;'; $styleBorderAround = 'border: 1px solid black;'; $styleTextLeft = 'text-align: left;'; $styleTextCenter = 'text-align: center;'; $styleTextRight = 'text-align: right;'; $styleFontSize16 = 'font-size:16px;'; @endphp
{{ $commission->administrator->name }} ( {{ $commission->activity->name }} ) | 截至 {{ $now->format('Y/m/d H:i') }} | |||||||
訂單數 | 營收 | |||||||
{{ $typeName }} | {{ $order['count'] }} | $ {{ number_format($order['total']) }} | ||||||
平均客單 | $ {{ number_format($perCustomerTransaction) }} | |||||||
類別 | 品項 | 團購價 | 已付款組數 | 未付款組數 | 總銷售組數 | 小計 | 訂單占比 | 銷售額占比 |
{{ $product['productPropertyName'] }} | {{ $product['productName'] }} | $ {{ number_format($product['price']) }} | {{ $paidProduct['quantity'] ?? 0 }} | {{ $unPaidProduct['quantity'] ?? 0 }} | {{ $product['quantity'] ?? 0 }} | $ {{ number_format($product['total']) }} | {{ $product['quantityPercent'] }} % | {{ $product['totalPercent'] }} % |
運費 | $ {{ number_format($freightFee) }} | |||||||
(折扣) | - $ {{ number_format($discountFee) }} | |||||||
銷售量總計 | {{ $productsSum['paid'] }} | {{ $productsSum['unpaid'] }} | {{ $productsSum['all'] }} | $ {{ number_format($productsSum['total']) }} |