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:
parent
39c9ba186f
commit
e62ba49683
@ -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,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user