|
@@ -43,7 +43,16 @@ class Pages extends BaseController
|
|
|
$distinta = new \Distinta($f3);
|
|
$distinta = new \Distinta($f3);
|
|
|
$distinta->CleanDistintaTable();
|
|
$distinta->CleanDistintaTable();
|
|
|
$distinta->CopyDistinta($stepValues['consegna']);
|
|
$distinta->CopyDistinta($stepValues['consegna']);
|
|
|
- $distinta->ResetLabelCarrello($stepValues['labelid']);
|
|
|
|
|
|
|
+ // TODO #RESETCARRELLO da confermare quale tenere, prima versione con reset carrello + blink
|
|
|
|
|
+ //$distinta->ResetLabelCarrello($stepValues['labelid']);
|
|
|
|
|
+ // TODO #RESETCARRELLO versione con solo blink carrello
|
|
|
|
|
+ // <
|
|
|
|
|
+ $CORE_SETTINGS = \F3::get('CORE.fb');
|
|
|
|
|
+ $findBoxCore = new \FindBoxCoreSystem(...array_values($CORE_SETTINGS));
|
|
|
|
|
+
|
|
|
|
|
+ $label = new \SmartESL($findBoxCore, [$stepValues['labelid']]);
|
|
|
|
|
+ $label->BlinkSpecial(0, 1, 1000, 8, 0);
|
|
|
|
|
+ // >
|
|
|
$distinta->SaveProductsToFindBox('3', true, 50); // prende soltanto i primi 3 dalla tabella copia delle distinte
|
|
$distinta->SaveProductsToFindBox('3', true, 50); // prende soltanto i primi 3 dalla tabella copia delle distinte
|
|
|
|
|
|
|
|
$f3->set('COOKIE.p2l', json_encode($stepValues));
|
|
$f3->set('COOKIE.p2l', json_encode($stepValues));
|
|
@@ -117,7 +126,7 @@ class Pages extends BaseController
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
// Seleziona le prossime tre etichette
|
|
// Seleziona le prossime tre etichette
|
|
|
- foreach($rowsDistinta as $rowDist) {
|
|
|
|
|
|
|
+ foreach ($rowsDistinta as $rowDist) {
|
|
|
$CORE_SETTINGS = $f3->get('CORE.fb');
|
|
$CORE_SETTINGS = $f3->get('CORE.fb');
|
|
|
$findBoxCore = new \FindBoxCoreSystem(...array_values($CORE_SETTINGS));
|
|
$findBoxCore = new \FindBoxCoreSystem(...array_values($CORE_SETTINGS));
|
|
|
$labelId = $distinta->GetLabelIdFromBarcode($rowDist['barcode']);
|
|
$labelId = $distinta->GetLabelIdFromBarcode($rowDist['barcode']);
|