Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
107417a571 | ||
| 5ff7e356be |
@@ -1,2 +1,2 @@
|
|||||||
parameters:
|
parameters:
|
||||||
app.version: '0.1.14'
|
app.version: '0.1.15'
|
||||||
|
|||||||
@@ -125,6 +125,14 @@ final readonly class WorkHourBulkUpsertProcessor implements ProcessorInterface
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Si aucune donnée n'a changé, on ne touche pas la ligne:
|
||||||
|
// cela évite de perdre les validations existantes (site/RH) sur un simple enregistrement.
|
||||||
|
if (null !== $existing && $this->isSameAsExisting($existing, $normalized)) {
|
||||||
|
++$result->processed;
|
||||||
|
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if ($this->isEntryEmpty($normalized)) {
|
if ($this->isEntryEmpty($normalized)) {
|
||||||
// Convention choisie: une ligne vide supprime l'enregistrement existant.
|
// Convention choisie: une ligne vide supprime l'enregistrement existant.
|
||||||
if ($existing) {
|
if ($existing) {
|
||||||
|
|||||||
Reference in New Issue
Block a user