| ප්රමාණය | සඳහන් මිල | අපේ මිල | එකතුව |
|---|---|---|---|
|
@php
$product_name = $line['name'];
if (!empty($line['product_custom_field3']) && !empty($line['product_custom_fields']) && strpos($line['product_custom_fields'], (string)$line['product_custom_field3']) !== false) {
$product_name = $line['product_custom_field3'];
}
@endphp
{{$product_name}} {{$line['product_variation']}} {{$line['variation']}}
@if(!empty($line['brand']))
({{ $line['brand'] }})
@endif
@if(!empty($line['sub_sku']))
- {{ $line['sub_sku'] }}
@endif
@if(!empty($line['sell_line_note']))
{!! $line['sell_line_note'] !!} @endif {{-- Serial, Color, Storage --}} @php $show_color_storage_setting = null; if (isset($receipt_details->common_settings)) { if (is_array($receipt_details->common_settings)) { $show_color_storage_setting = $receipt_details->common_settings['show_color_storage'] ?? null; } else { $show_color_storage_setting = $receipt_details->common_settings->show_color_storage ?? null; } } $show_color_storage = !empty($show_color_storage_setting) || $show_color_storage_setting === '1' || $show_color_storage_setting === 1 || $show_color_storage_setting === true; $has_serial = $receipt_details->show_serial_number && !empty(getSellsProductSerial($line['product_id'], $receipt_details->product_Transaction_id)); $has_color = $show_color_storage && !empty($line['product_color']); $has_storage = $show_color_storage && !empty($line['product_storage']); $show_info_line = $has_serial || $has_color || $has_storage; @endphp @if($show_info_line)
@if($has_serial)
S/N:
@foreach(getSellsProductSerial($line['product_id'], $receipt_details->product_Transaction_id) as $serial_number)
{{$serial_number->serial_number}}@if(!$loop->last), @endif
@endforeach
@endif
@if($has_serial && ($has_color || $has_storage))
|
@endif
@if($has_color)
Color: {{$line['product_color']}}
@endif
@if($has_color && $has_storage)
|
@endif
@if($has_storage)
Storage: {{$line['product_storage']}}
@endif
@endif
{{-- Warranty details --}}
@if(!empty($line['warranty_name']))
වගකීම් කාලය (Warranty): {{$line['warranty_name']}}
@if(!empty($line['warranty_exp_date']))
({{@format_date($line['warranty_exp_date'])}})
@endif
@if(!empty($line['warranty_description']))
@endif
{{$line['warranty_description']}} @endif |
|||
| {{$line['quantity']}} | @if(!empty($line['unit_price_before_discount']) && $line['unit_price_before_discount'] != $line['unit_price_inc_tax']) {{$line['unit_price_before_discount']}} @else {{$line['unit_price_inc_tax']}} @endif | {{$line['unit_price_inc_tax']}} | {{$line['line_total']}} |
|
{{$modifier['name']}} {{$modifier['variation']}}
@if(!empty($modifier['sub_sku'])) ({{$modifier['sub_sku']}}) @endif
@if(!empty($modifier['sell_line_note'])) ({!! $modifier['sell_line_note'] !!}) @endif |
|||
| {{$modifier['quantity']}} | {{$modifier['unit_price_inc_tax']}} | {{$modifier['unit_price_inc_tax']}} | {{$modifier['line_total']}} |
| No items found | |||