Add new fields to items: id_code, image, location; implement QR code generation and printing; update translations and UI

This commit is contained in:
2025-11-11 17:59:23 +01:00
parent 921a74bbe2
commit a15c976106
61 changed files with 5514 additions and 83 deletions

8
add_columns.php Normal file
View File

@@ -0,0 +1,8 @@
<?php
require 'vendor/autoload.php';
require 'config.php';
= new PDO('sqlite:' . DB_PATH);
->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
try {
->exec('ALTER TABLE items ADD COLUMN id_code TEXT');
echo id_code