@foreach($data['items'] as $row)

{{ $row->item_code }}

{!! DNS1D::getBarcodeHTML($row->item_code , 'I25',1,20)!!}
@if($row->category_id < 25)

K:{{ $row->category_id }}

W:{{ number_format($row->weight , 2) }}

O:{{ number_format($row->sell_cost , 0) }}

@else

G:{{ number_format($row->gold_weight , 2) }}

D:{{ $row->weight }}

C:{{ $row->stone_weight }}

{{ $row->old_code }}

@endif
@endforeach