@extends('layouts.back-end.app') @section('title', $product->name . ' barcode ' . date('Y/m/d')) @push('css_or_js') @endpush @section('content')

{{\App\CPU\translate('generate_barcode')}}

{{ \App\CPU\translate('code') }} {{ \App\CPU\translate('name') }} {{ \App\CPU\translate('quantity') }} {{ \App\CPU\translate('action') }}
@if ($product->code) {{$product->code}} @else {{ \App\CPU\translate('update_your_product_code') }} @endif {{ Str::limit($product->name, 20) }} {{ \App\CPU\translate('maximum_quantity_270') }}
{{ \App\CPU\translate('reset') }}

{{ \App\CPU\translate("This page is for A4 size page printer, so it won't be visible in smaller devices") }}.

@if ($limit)
@for ($i = 0; $i < $limit; $i++) @if ($i % 27 == 0 && $i != 0)
@endif
{{ \App\Model\BusinessSetting::where('type', 'company_name')->first()->value }} {{ Str::limit($product->name, 20) }}
{{ \App\CPU\BackEndHelper::set_symbol(\App\CPU\BackEndHelper::usd_to_currency($product->unit_price)) }}
@if ($product->code !== null)
{!! DNS1D::getBarcodeHTML($product->code, 'C128') !!}
{{ \App\CPU\translate('code') }} : {{ $product->code }}
@else

{{ \App\CPU\translate('please_update_product_code') }}

@endif
@endfor
@endif
@endsection @push('script_2') @endpush