|
@if(!empty($print['business_name']))
{{ $business_name
}}
@endif
@if(!empty($print['name']))
{{ $page_product->product_actual_name }}
@if(!empty($print['lot_number']) && !empty($page_product->lot_number))
({{ $page_product->lot_number }})
@endif
@endif
@if(!empty($print['variations']) && $page_product->is_dummy != 1)
{{$page_product->product_variation_name}}: {{$page_product->variation_name}}
@endif
@php
$custom_labels = json_decode(session('business.custom_labels'), true);
$product_custom_fields = !empty($custom_labels['product']) ? $custom_labels['product'] : [];
@endphp
@foreach($product_custom_fields as $index => $cf)
@php
$field_name = 'product_custom_field' . $loop->iteration;
@endphp
@if(!empty($cf) && !empty($page_product->$field_name) && !empty($print[$field_name]))
{{ $cf }}: {{ $page_product->$field_name }}
@endif
@endforeach
@if(!empty($print['price']))
@lang('lang_v1.price'):
@php
$currency_symbol = session('currency')['symbol'] ?? '';
$currency_placement = session('business.currency_symbol_placement') ?? 'before';
if(!empty($print['price_type']) && $print['price_type'] == 'inclusive') {
$price_amount = $page_product->sell_price_inc_tax;
} else {
$price_amount = $page_product->default_sell_price;
}
@endphp
@if($currency_placement === 'after')
{{ $price_amount }} {{ $currency_symbol }}
@else
{{ $currency_symbol }} {{ $price_amount }}
@endif
@endif
@if(!empty($print['exp_date']) && !empty($page_product->exp_date))
@lang('product.exp_date'): {{$page_product->exp_date}}
@endif
@if(!empty($print['packing_date']) && !empty($page_product->packing_date))
@lang('lang_v1.packing_date'): {{$page_product->packing_date}}
@endif
@if (!empty($print['image']) && !empty($image_url))
@if(!empty($print['sku']))
{{$page_product->sub_sku}}
@endif
|
@if($loop->iteration % $barcode_details->stickers_in_one_row == 0)