{{ $loop->iteration }} |
{{ $sell_line->product->name }}
@if( $sell_line->product->type == 'variable')
- {{ $sell_line->variations->product_variation->name ?? ''}}
- {{ $sell_line->variations->name ?? ''}},
@endif
{{ $sell_line->variations->sub_sku ?? ''}}
@php
$brand = $sell_line->product->brand;
@endphp
@if(!empty($brand->name))
, {{$brand->name}}
@endif
@if(!empty($sell_line->sell_line_note))
{{$sell_line->sell_line_note}}
@endif
@if($is_warranty_enabled && !empty($sell_line->warranties->first()) )
{{$sell_line->warranties->first()->display_name ?? ''}} - {{ @format_date($sell_line->warranties->first()->getEndDate($sell->transaction_date))}}
@if(!empty($sell_line->warranties->first()->description))
{{$sell_line->warranties->first()->description ?? ''}}
@endif
@endif
|
@if( session()->get('business.enable_lot_number') == 1)
{{ $sell_line->lot_details->lot_number ?? '--' }}
@if( session()->get('business.enable_product_expiry') == 1 && !empty($sell_line->lot_details->exp_date))
({{@format_date($sell_line->lot_details->exp_date)}})
@endif
|
@endif
{{ $sell_line->quantity }} @if(!empty($sell_line->sub_unit)) {{$sell_line->sub_unit->short_name}} @else {{$sell_line->product->unit->short_name}} @endif
|
@if(!empty($pos_settings['inline_service_staff']))
{{ $sell_line->service_staff->user_full_name ?? '' }}
|
@endif
{{ $sell_line->unit_price_before_discount }}
|
{{ $sell_line->get_discount_amount() }} @if($sell_line->line_discount_type == 'percentage') ({{$sell_line->line_discount_amount}}%) @endif
|
{{ $sell_line->item_tax }}
@if(!empty($taxes[$sell_line->tax_id]))
( {{ $taxes[$sell_line->tax_id]}} )
@endif
|
{{ $sell_line->unit_price_inc_tax }}
|
{{ $sell_line->quantity * $sell_line->unit_price_inc_tax }}
|
@if(!empty($sell_line->modifiers))
@foreach($sell_line->modifiers as $modifier)
|
{{ $modifier->product->name }} - {{ $modifier->variations->name ?? ''}},
{{ $modifier->variations->sub_sku ?? ''}}
|
@if( session()->get('business.enable_lot_number') == 1)
|
@endif
{{ $modifier->quantity }} |
{{ $modifier->unit_price }}
|
|
{{ $modifier->item_tax }}
@if(!empty($taxes[$modifier->tax_id]))
( {{ $taxes[$modifier->tax_id]}} )
@endif
|
{{ $modifier->unit_price_inc_tax }}
|
{{ $modifier->quantity * $modifier->unit_price_inc_tax }}
|
@endforeach
@endif
@endforeach