feat: refs #7266 Minor change
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Guillermo Bonet 2024-10-24 12:18:09 +02:00
parent f6d818f58e
commit 8569bec34a
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,3 @@
INSERT INTO vn.report (name, `method`)
VALUES ('LabelItemBarcode','Items/{id}/label-barcode-pdf'),
('LabelItemQr','Items/{id}/label-qr-pdf');

View File

@ -4,7 +4,7 @@ const moment = require('moment');
const jsbarcode = require('jsbarcode');
module.exports = {
name: 'item-label-qr',
name: 'item-label-barcode',
async serverPrefetch() {
this.company = await this.findOneFromDef('company', [this.warehouseId]);
if (!this.company)