| # | @lang('product.product_name') | @lang('product.variation') | @lang('sale.quantity') | @lang('sale.unit_price') | @lang('sale.total_price') |
|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $product->name }} | {{ optional($product->variations->firstWhere('id', $detail['exchange_variation_ids'][$index]))->name ?? 'N/A' }} | {{ $detail['exchange_quantities'][$index] ?? '-' }} | {{ $detail['exchange_unit_price'][$index] ?? '-' }} | {{ $detail['exchange_total_price'][$index] ?? '-' }} |
| # | @lang('product.product_name') | @lang('product.variation') | @lang('sale.quantity') | @lang('sale.unit_price') | @lang('sale.total_price') |
|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $product->name }} | {{ optional($product->variations->firstWhere('id', $detail['new_variation_ids'][$index]))->name ?? 'N/A' }} | {{ $detail['new_quantities'][$index] ?? '-' }} | {{ $detail['new_unit_price'][$index] ?? '-' }} | {{ $detail['new_total_price'][$index] ?? '-' }} |