alsmanager_lib 3.0.228 → 3.0.229
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/modules.js +55 -0
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -17373,6 +17373,61 @@ function deleteCountersPrinterRechargeUser(id_counteruser) {
|
|
|
17373
17373
|
return query;
|
|
17374
17374
|
}
|
|
17375
17375
|
|
|
17376
|
+
function selectPrinterCartridges() {
|
|
17377
|
+
/*
|
|
17378
|
+
-- ALS.printer_cartridges definition
|
|
17379
|
+
|
|
17380
|
+
CREATE TABLE `printer_cartridges` (
|
|
17381
|
+
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
17382
|
+
`tipo` text NOT NULL,
|
|
17383
|
+
`marca` varchar(50) DEFAULT NULL,
|
|
17384
|
+
`descrizione` varchar(50) DEFAULT NULL,
|
|
17385
|
+
`color` char(20) DEFAULT NULL,
|
|
17386
|
+
`numero` int(11) NOT NULL,
|
|
17387
|
+
`data_ultimo` char(10) NOT NULL,
|
|
17388
|
+
`note` varchar(100) DEFAULT NULL,
|
|
17389
|
+
PRIMARY KEY (`id`)
|
|
17390
|
+
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
17391
|
+
*/
|
|
17392
|
+
}
|
|
17393
|
+
|
|
17394
|
+
function selectPrinterCartridgeById(id_cart) {
|
|
17395
|
+
|
|
17396
|
+
}
|
|
17397
|
+
|
|
17398
|
+
function insertPrinterCartridge() {
|
|
17399
|
+
|
|
17400
|
+
}
|
|
17401
|
+
|
|
17402
|
+
function updatePrinterCartridge(id_cart) {
|
|
17403
|
+
|
|
17404
|
+
}
|
|
17405
|
+
|
|
17406
|
+
function removePrinterCartridge(id_cart) {
|
|
17407
|
+
|
|
17408
|
+
}
|
|
17409
|
+
|
|
17410
|
+
function installPrinterCartridge(id_cart, id_device, date_install) {
|
|
17411
|
+
/*
|
|
17412
|
+
-- ALS.printer_cartridges definition
|
|
17413
|
+
|
|
17414
|
+
CREATE TABLE `printer_cartridges` (
|
|
17415
|
+
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
17416
|
+
`tipo` text NOT NULL,
|
|
17417
|
+
`marca` varchar(50) DEFAULT NULL,
|
|
17418
|
+
`descrizione` varchar(50) DEFAULT NULL,
|
|
17419
|
+
`color` char(20) DEFAULT NULL,
|
|
17420
|
+
`numero` int(11) NOT NULL,
|
|
17421
|
+
`data_ultimo` char(10) NOT NULL,
|
|
17422
|
+
`note` varchar(100) DEFAULT NULL,
|
|
17423
|
+
PRIMARY KEY (`id`)
|
|
17424
|
+
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
17425
|
+
*/
|
|
17426
|
+
|
|
17427
|
+
}
|
|
17428
|
+
|
|
17429
|
+
|
|
17430
|
+
|
|
17376
17431
|
|
|
17377
17432
|
// End Printer management
|
|
17378
17433
|
// Notes for devices
|