This commit is contained in:
parent
f6d818f58e
commit
8569bec34a
|
@ -0,0 +1,3 @@
|
||||||
|
INSERT INTO vn.report (name, `method`)
|
||||||
|
VALUES ('LabelItemBarcode','Items/{id}/label-barcode-pdf'),
|
||||||
|
('LabelItemQr','Items/{id}/label-qr-pdf');
|
|
@ -4,7 +4,7 @@ const moment = require('moment');
|
||||||
const jsbarcode = require('jsbarcode');
|
const jsbarcode = require('jsbarcode');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'item-label-qr',
|
name: 'item-label-barcode',
|
||||||
async serverPrefetch() {
|
async serverPrefetch() {
|
||||||
this.company = await this.findOneFromDef('company', [this.warehouseId]);
|
this.company = await this.findOneFromDef('company', [this.warehouseId]);
|
||||||
if (!this.company)
|
if (!this.company)
|
||||||
|
|
Loading…
Reference in New Issue