Hello guys, i first time write here and i think you can help me. My problem is that when I try to put in the barcode to automatically enter what is needed it doesn't do it but just overwrites the code, I've looked on a couple of pages and I can't find a solution to my problem anywhere.
Here is the thing i need to be automatically writed in qr code.
<div class="col-40">
<div class="text p-index-right">
@stack('document_number_input_start')
@if (! $hideDocumentNumber)
<p class="mb-0">
<span class="font-semibold w-numbers">
<strong> OTPREMNICA - FAKTURA</strong>
</span>
<span class="float-right spacing">
{{ $document->document_number }}
</span>
</p>
@endif
@stack('document_number_input_end')
Here is the code of qrcode
@stack('barcode_input_start')
<div class="container-barcod">
<div class="card qrcode">
<div class="card-body">
{!! QrCode::encoding('UTF-8')->generate('S:Plaćanje racuna {{$document_number}}') !!}
</div>
</div>
</div>
@stack('barcode_input_end')
Here is the screenshot of what i get when scan qrcode
https://imgur.com/QnNK5yL
I need the document_number to be written there, which will be set by itself when I create the invoice.