mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-05 10:17:30 +01:00
Fix duplicazione contratto
This commit is contained in:
parent
1d199113a7
commit
ca9a480f92
@ -138,7 +138,7 @@ switch (post('op')) {
|
||||
|
||||
$id_record = $new->id;
|
||||
|
||||
$righe = $preventivo->getRighe();
|
||||
$righe = $contratto->getRighe();
|
||||
foreach ($righe as $riga) {
|
||||
$new_riga = $riga->replicate();
|
||||
$new_riga->setParent($new);
|
||||
|
Loading…
x
Reference in New Issue
Block a user