Item: {{ $order->item_name }}
Item #: {{ $order->order_item_id }}
Partslink: {{ $order->partslink }}
Supplier: {{ $order->supplier ?: 'N/A' }}
Sale: ${{ number_format($order->item_sale_price, 2) }} + ${{ number_format($order->item_shipping, 2) }} = ${{ number_format($order->sales_price, 2) }}
Buy: @if($order->usauto_rebate > 0) ${{ number_format($order->supplier_price, 2) }} + ${{ number_format($order->supplier_shipping, 2) }} + ${{ number_format($order->supplier_handling, 2) }} - ${{ number_format($order->usauto_rebate, 2) }} = @else ${{ number_format($order->supplier_price, 2) }} + ${{ number_format($order->supplier_shipping, 2) }} + ${{ number_format($order->supplier_handling, 2) }} = @endif ${{ number_format($order->our_buy_price, 2) }}
@if($order->buy_price_source)Source: {{ $order->buy_price_source }}
@endif @if($order->our_shipping_source)Shipping: {{ $order->our_shipping_source }}
@endifChannel Commission: {{ number_format($order->channel_commission, 2) }}%
Advertisement Fee: ${{ number_format($order->channel_advertisement_fee_amount, 2) }}
Loss Rate: {{ number_format($order->loss_rate ?: 0, 2) }}%
Category Discount: {{ number_format($categoryDiscountPercentage, 2) }}%
Amazon Additional Cost: ${{ number_format($order->amazon_additional_cost, 2) }}
Name: {{ $order->billing_name }}
Address: {{ $order->billing_address }}
@if(!empty($order->remarks))Remarks:
{{ $order->remarks }}
Fee Data Source:
{{ trim($order->fee_data_source) === 'Actual' ? '= ' : '≈ ' }}{{ htmlspecialchars($order->fee_data_source) }}
{{ trim($order->fee_data_source) === 'Actual' ? 'Commission and fees are based on actual data' : 'Commission and fees are estimated' }}
Our Buy Price: ${{ number_format($order->our_buy_price, 2) }}
Commission & Fee: ${{ number_format($order->commission_and_fee ?: 0, 2) }}
Payment Processor Fee: ${{ number_format($order->payment_processor_fee ?: 0, 2) }}
Supplier Shipping: ${{ number_format($order->supplier_shipping ?: 0, 2) }}
Supplier Handling: ${{ number_format($order->supplier_handling ?: 0, 2) }}
Supplier Credits: -${{ number_format($order->supplier_credits ?: 0, 2) }}
Loss Amount ({{ number_format($order->loss_rate ?: 0, 2) }}%): ${{ number_format($lossAmount, 2) }}
Total COGS: ${{ number_format($goodSoldCost, 2) }}
COGS %: {{ number_format($cogsPercent, 1) }}%
Gross Margin (Standard): ${{ number_format($order->gross_margin, 2) }}
Gross Profit (Standard): {{ number_format($order->gross_profit, 1) }}%
Formula: (Sale - COGS) / Sale × 100
Gross Margin (Calculated): ${{ number_format($calculatedGrossMargin, 2) }}
Gross Profit (Calculated): {{ number_format($calculatedGrossProfit, 1) }}%