mirror of
https://github.com/Karaka-Management/oms-StockTaking.git
synced 2026-01-10 18:18:41 +00:00
Test fixes
This commit is contained in:
parent
fa658db1a5
commit
5daa47532f
|
|
@ -73,16 +73,16 @@ omsApp.Modules.StockTaking = class {
|
|||
}
|
||||
});
|
||||
|
||||
if ("zoom" in self.settings) {
|
||||
self.zoom.min = self.capabilities.zoom.min;
|
||||
self.zoom.max = self.capabilities.zoom.max;
|
||||
self.zoom.step = self.capabilities.zoom.step;
|
||||
self.zoom.value = self.settings.zoom;
|
||||
if ("zoom" in self.settings) {
|
||||
self.zoom.min = self.capabilities.zoom.min;
|
||||
self.zoom.max = self.capabilities.zoom.max;
|
||||
self.zoom.step = self.capabilities.zoom.step;
|
||||
self.zoom.value = self.settings.zoom;
|
||||
|
||||
self.zoom.addEventListener("input", async () => {
|
||||
await self.track.applyConstraints({ advanced: [{ zoom: self.input.value }] });
|
||||
});
|
||||
}
|
||||
self.zoom.addEventListener("input", async () => {
|
||||
await self.track.applyConstraints({ advanced: [{ zoom: self.input.value }] });
|
||||
});
|
||||
}
|
||||
});
|
||||
} else {
|
||||
self.detectVideo(false);
|
||||
|
|
|
|||
|
|
@ -16,14 +16,14 @@ return ['StockTaking' => [
|
|||
'Stocktaking' => 'Inventur',
|
||||
'Date' => 'Datum',
|
||||
'Status' => 'Status',
|
||||
'Entry' => 'Eingabe',
|
||||
'Scan' => 'Scanning',
|
||||
'Data' => 'Daten',
|
||||
'Counted' => 'Gezählt',
|
||||
'Entry' => 'Eingabe',
|
||||
'Scan' => 'Scanning',
|
||||
'Data' => 'Daten',
|
||||
'Counted' => 'Gezählt',
|
||||
'Target' => 'Soll',
|
||||
'Camera' => 'Kamera',
|
||||
'Settings' => 'Settings',
|
||||
'Analysis' => 'Auswertung',
|
||||
':status-1' => 'Aktiv',
|
||||
':status-2' => 'Geschlossen',
|
||||
'Settings' => 'Settings',
|
||||
'Analysis' => 'Auswertung',
|
||||
':status-1' => 'Aktiv',
|
||||
':status-2' => 'Geschlossen',
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -16,14 +16,14 @@ return ['StockTaking' => [
|
|||
'Stocktaking' => 'Stock Taking',
|
||||
'Date' => 'Date',
|
||||
'Status' => 'Status',
|
||||
'Entry' => 'Entry',
|
||||
'Scan' => 'Scan',
|
||||
'Data' => 'Data',
|
||||
'Counted' => 'Counted',
|
||||
'Entry' => 'Entry',
|
||||
'Scan' => 'Scan',
|
||||
'Data' => 'Data',
|
||||
'Counted' => 'Counted',
|
||||
'Target' => 'Target',
|
||||
'Camera' => 'Camera',
|
||||
'Settings' => 'Settings',
|
||||
'Analysis' => 'Analysis',
|
||||
':status-1' => 'Active',
|
||||
':status-2' => 'Closed',
|
||||
'Settings' => 'Settings',
|
||||
'Analysis' => 'Analysis',
|
||||
':status-1' => 'Active',
|
||||
':status-2' => 'Closed',
|
||||
]];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user