1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-03-17 19:50:42 +01:00

feat: aggiunta riferimento riga da ordine cliente a ordine fornitore

This commit is contained in:
MatteoPistorello 2025-01-29 16:24:26 +01:00
parent 39c9ba186f
commit e62ba49683

View File

@ -525,6 +525,13 @@ switch (post('op')) {
}
$copia->save();
$dbo->insert('co_riferimenti_righe', [
'source_type' => get_class($copia),
'source_id' => $copia->id,
'target_type' => get_class($riga),
'target_id' => $riga->id,
]);
}
}