/home/brandsfa/www/storage/framework/views/2a67df01b9a5e72a249e6daf03d796cf.php
<?php $__env->startSection('title', $product->name . ' '.translate('barcode').' ' . date('Y/m/d')); ?>
<?php $__env->startPush('css_or_js'); ?>
<link rel="stylesheet" href="<?php echo e(dynamicAsset(path: 'public/assets/back-end/css/barcode.css')); ?>"/>
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
<div class="row m-2 show-div pt-3">
<div class="col-sm-12 col-lg-12 mb-3 mb-lg-2">
<div class="mb-3">
<h2 class="h1 mb-0 text-capitalize d-flex gap-2">
<img src="<?php echo e(dynamicAsset(path: 'public/assets/back-end/img/inhouse-product-list.png')); ?>" alt="">
<?php echo e(translate('generate_Barcode')); ?>
</h2>
</div>
<div class="card">
<div class="py-4">
<div class="table-responsive">
<form action="<?php echo e(url()->current()); ?>" method="GET">
<table class="table table-hover table-borderless table-thead-bordered table-nowrap table-align-middle card-table w-100 text-start">
<thead class="thead-light thead-50 text-capitalize">
<tr>
<th><?php echo e(translate('code')); ?></th>
<th><?php echo e(translate('name')); ?></th>
<th><?php echo e(translate('quantity')); ?></th>
<th class="text-center"><?php echo e(translate('action')); ?></th>
</tr>
</thead>
<tbody>
<tr>
<th>
<?php if($product->code): ?>
<span><?php echo e($product->code); ?></span>
<?php else: ?>
<a class="title-color hover-c1"
href="<?php echo e(route('admin.products.edit', [$product['id']])); ?>">
<?php echo e(translate('update_your_product_code')); ?>
</a>
<?php endif; ?>
</th>
<th><?php echo e(Str::limit($product->name, 20)); ?></th>
<th>
<input id="limit" class="form-control" type="number" name="limit" min="1"
value="<?php echo e(request('limit') ?? 4); ?>">
<span class="text-danger mt-1 d-block">
<?php echo e(translate('maximum_quantity_270')); ?>
</span>
</th>
<th>
<div class="d-flex justify-content-center gap-2">
<button class="btn btn-outline-info" type="submit">
<?php echo e(translate('generate_barcode')); ?>
</button>
<a href="<?php echo e(route('admin.products.barcode', [$product['id']])); ?>"
class="btn btn-outline-danger">
<?php echo e(translate('reset')); ?>
</a>
<button type="button" id="print_bar" data-value="print-area"
class="btn btn-outline--primary action-print-invoice">
<?php echo e(translate('print')); ?>
</button>
</div>
</th>
</tr>
</tbody>
</table>
</form>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-12 mt-5 p-4">
<h1 class="style-one-br show-div2">
<?php echo e(translate("this_page_is_for_A4_size_page_printer_so_it_will_not_be_visible_in_smaller_devices.")); ?>
</h1>
</div>
</div>
<div id="print-area" class="show-div pb-5">
<?php $__currentLoopData = $barcodes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $array): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="barcode-a4">
<?php for($i = 0; $i < count($array); $i++): ?>
<div class="item style24">
<span class="barcode_site text-capitalize">
<?php echo e(getWebConfig(name: 'company_name')); ?>
</span>
<span class="barcode_name text-capitalize">
<?php echo e(Str::limit($product->name, 20)); ?>
</span>
<div class="barcode_price text-capitalize">
<?php echo e(setCurrencySymbol(amount: usdToDefaultCurrency(amount: $product->unit_price), currencyCode: getCurrencyCode())); ?>
</div>
<?php if($product->code !== null): ?>
<div class="barcode_image d-flex justify-content-center">
<?php echo DNS1D::getBarcodeHTML($product->code, 'C128'); ?>
</div>
<div class="barcode_code text-capitalize">
<?php echo e(translate('code')); ?> : <?php echo e($product->code); ?>
</div>
<?php else: ?>
<p class="text-danger">
<?php echo e(translate('please_update_product_code')); ?>
</p>
<?php endif; ?>
</div>
<?php endfor; ?>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.back-end.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/amkworld/public_html/resources/views/admin-views/product/barcode.blade.php ENDPATH**/ ?>