diff --git a/saas-app/public/app-support.php b/saas-app/public/app-support.php index 19cd17b..b7587ce 100644 --- a/saas-app/public/app-support.php +++ b/saas-app/public/app-support.php @@ -1759,7 +1759,7 @@ function app_print_list_detail(PDO $pdo, string $tenantId, string $listId): ?arr $list['items'] = app_query_all( $pdo, - 'SELECT id, member_id, member_name, row_number, front_strokes, back_strokes, total_strokes FROM print_list_items WHERE print_list_id = :print_list_id ORDER BY row_number ASC', + 'SELECT id, member_id, member_name, list_position, front_strokes, back_strokes, total_strokes FROM print_list_items WHERE print_list_id = :print_list_id ORDER BY list_position ASC', ['print_list_id' => $listId] ); @@ -1820,13 +1820,13 @@ function app_create_print_list(PDO $pdo, array $auth, array $settings, array $da foreach ($members as $member) { app_execute( $pdo, - 'INSERT INTO print_list_items (id, print_list_id, member_id, member_name, row_number, front_strokes, back_strokes, total_strokes, created_at, updated_at) VALUES (:id, :print_list_id, :member_id, :member_name, :row_number, 0, 0, 0, :created_at, :updated_at)', + 'INSERT INTO print_list_items (id, print_list_id, member_id, member_name, list_position, front_strokes, back_strokes, total_strokes, created_at, updated_at) VALUES (:id, :print_list_id, :member_id, :member_name, :list_position, 0, 0, 0, :created_at, :updated_at)', [ 'id' => app_uuid(), 'print_list_id' => $listId, 'member_id' => $member['id'], 'member_name' => $member['display_name'], - 'row_number' => $rowNumber++, + 'list_position' => $rowNumber++, 'created_at' => $now, 'updated_at' => $now, ] diff --git a/saas-app/public/index.php b/saas-app/public/index.php index f6db66d..7e8032a 100644 --- a/saas-app/public/index.php +++ b/saas-app/public/index.php @@ -620,7 +620,7 @@ $canManageTenant = app_can_manage_tenant($auth);
PDF-Ansicht

Diese Ansicht ist druckfertig vorbereitet. Du kannst sie im Browser direkt als PDF speichern.

Zurück
-

#PersonStriche
________

#PersonStriche
________
+

#PersonStriche
________

#PersonStriche
________
Exporte und Drucklisten

Drucklisten als PDF vorbereiten und später aus Papier nacherfassen

Hier erzeugst du druckfertige Listen, speicherst sie als PDF und buchst anschließend die Striche aus Vorder- und Rückseite zurück ins System.

@@ -677,7 +677,7 @@ $canManageTenant = app_can_manage_tenant($auth);
- +
#PersonVorderseiteRückseiteGesamt
Zur PDF-Ansicht
diff --git a/saas-app/updates/2026_03_22_000004_add_print_list_tables.php b/saas-app/updates/2026_03_22_000004_add_print_list_tables.php index f5a38c4..d25c20c 100644 --- a/saas-app/updates/2026_03_22_000004_add_print_list_tables.php +++ b/saas-app/updates/2026_03_22_000004_add_print_list_tables.php @@ -26,7 +26,7 @@ CREATE TABLE IF NOT EXISTS print_list_items ( print_list_id CHAR(36) NOT NULL, member_id CHAR(36) NOT NULL, member_name VARCHAR(255) NOT NULL, - row_number INT NOT NULL, + list_position INT NOT NULL, front_strokes INT NOT NULL DEFAULT 0, back_strokes INT NOT NULL DEFAULT 0, total_strokes INT NOT NULL DEFAULT 0,