mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-03-12 01:00:13 +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;
|
$id_record = $new->id;
|
||||||
|
|
||||||
$righe = $preventivo->getRighe();
|
$righe = $contratto->getRighe();
|
||||||
foreach ($righe as $riga) {
|
foreach ($righe as $riga) {
|
||||||
$new_riga = $riga->replicate();
|
$new_riga = $riga->replicate();
|
||||||
$new_riga->setParent($new);
|
$new_riga->setParent($new);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user