{{ $product->name }}
@if (!empty($product->product_code))
{!! $barcode->getBarcodeHTML($product->product_code, $barcodeType, 1.5, 30) !!}
@else
Missing Barcode
@endif
{{ $product->product_code }}
--}}
@if ($config->product_name_show)
{{ $product->name }}
@endif
@if (!empty($product->product_code))
@if ($barcodeType == 'C39' && !isValidCode39($product->product_code))
Invalid characters
@else
{!! app('Milon\Barcode\DNS1D')->getBarcodeHTML($product->product_code, $barcodeType, 1.5, 30) !!}
@endif
@else
Missing Barcode
@endif
@if ($config->code_show)
{{ $product->product_code }}
@endif
@if ($config->price_show)
{{ numberformat($data['add_vat']?$product->priceWithVat:$product->sale_price) }}
@endif
@if ($config->vat_include_show)
(Vat {{ $data['add_vat'] ? 'Included' : 'Excluded' }})
@endif
@if ($config->company_show && !empty($data['company']))
{{ $data['company']->company_name }}
@endif
@endfor
@endforeach