fichaje automatico y escaneo

This commit is contained in:
amazuecos
2025-05-05 00:47:00 +02:00
parent fb7f2a28d9
commit 305eea00e6
19 changed files with 821 additions and 25 deletions

View File

@ -1051,6 +1051,10 @@ class ProductionService extends BaseService
$this->init($tareaEntity->orden_trabajo_id);
$dateName = $this->getOrdenTrabajoTareaDate($tareaEntity);
$this->emptyOrdenTrabajoDate($this->ot->id, $dateName);
$tareaEntity->tiempo_real = 0;
$tareaEntity->click_init = 0;
$tareaEntity->click_end = 0;
$this->otTarea->save($tareaEntity);
}
if ($status) {
$response = $this->storeOrdenTrabajoTareaProgressDate($data);
@ -1482,6 +1486,7 @@ class ProductionService extends BaseService
}
return $uvi;
}
//TODO ACTUALIZAR
public function updateProgress(): bool
{
$userDates = $this->ordenTrabajoConfig->DATE_USER_MAPPING;