Add button to set next batch start number

This commit is contained in:
Rafael Szydelko 2025-09-08 13:36:39 +02:00
parent d18719cc26
commit 11830f1608
No known key found for this signature in database
GPG key ID: 8B8F481C36F8E7DF

View file

@ -178,6 +178,12 @@
</div>
</div>
</div>
<button
@click.prevent="setNextBatchStartNumber()"
class="w-full rounded-lg bg-gray-500 px-5 py-2.5 text-center text-sm font-medium text-white hover:bg-gray-600 focus:outline-none focus:ring-4 focus:ring-blue-300 sm:w-auto"
>
Next Batch
</button>
<button
@click.prevent="generateLabels()"
class="w-full rounded-lg bg-blue-700 px-5 py-2.5 text-center text-sm font-medium text-white hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300 sm:w-auto"
@ -285,6 +291,9 @@
init() {
this.generateLabels();
},
setNextBatchStartNumber() {
this.startNumber = parseInt(this.startNumber, 10) + 7 * 27;
},
};
}
</script>