change to the Hinweis that is shown
Release Inventarsystem / release-docker (push) Successful in 2m19s
Release Inventarsystem / release-docker (push) Successful in 2m19s
This commit is contained in:
@@ -1219,12 +1219,16 @@
|
|||||||
// =========================================================================
|
// =========================================================================
|
||||||
function getPhysicalScannerInstruction() {
|
function getPhysicalScannerInstruction() {
|
||||||
const mode = document.getElementById('scanModeSelect')?.value || 'card_only';
|
const mode = document.getElementById('scanModeSelect')?.value || 'card_only';
|
||||||
if (mode === 'return_only') return 'Bitte den Mediencode scannen.';
|
if (mode === 'return_only') return 'Hinweis: Benötigt wird ein Mediencode zur Rückgabe.';
|
||||||
if (mode === 'card_only') return 'Bitte den Bibliotheksausweis scannen.';
|
if (mode === 'card_only') return 'Hinweis: Benötigt wird ein Bibliotheksausweis.';
|
||||||
if (mode === 'quick_toggle' && !activeStudentCardId) return 'Bitte zuerst den Bibliotheksausweis scannen.';
|
if (mode === 'quick_toggle' && !activeStudentCardId) {
|
||||||
if (mode === 'quick_toggle') return 'Bitte den Mediencode scannen.';
|
return 'Hinweis: Zuerst wird ein Bibliotheksausweis benötigt.';
|
||||||
if (mode === 'continuous' && !activeStudentCardId) return 'Bitte zuerst den Bibliotheksausweis scannen.';
|
}
|
||||||
return 'Bitte den nächsten Mediencode scannen.';
|
if (mode === 'quick_toggle') return 'Hinweis: Jetzt wird ein Mediencode benötigt.';
|
||||||
|
if (mode === 'continuous' && !activeStudentCardId) {
|
||||||
|
return 'Hinweis: Zuerst wird ein Bibliotheksausweis benötigt.';
|
||||||
|
}
|
||||||
|
return 'Hinweis: Jetzt wird der nächste Mediencode benötigt.';
|
||||||
}
|
}
|
||||||
|
|
||||||
function updatePhysicalScannerModal(message, kind = '') {
|
function updatePhysicalScannerModal(message, kind = '') {
|
||||||
|
|||||||
Reference in New Issue
Block a user