Fix #552
This commit is contained in:
parent
85d5ee692e
commit
02f0cd2593
|
@ -172,6 +172,7 @@ abstract class Description extends Model
|
|||
protected function customInitCopiaIn($original)
|
||||
{
|
||||
$this->is_descrizione = $original->is_descrizione;
|
||||
$this->is_sconto = $original->is_sconto;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -9,7 +9,7 @@ abstract class Discount extends Row
|
|||
{
|
||||
protected $guarded = [];
|
||||
|
||||
public static function build(Document $document, $bypass = false)
|
||||
public static function build(Document $document)
|
||||
{
|
||||
$model = parent::build($document, true);
|
||||
|
||||
|
|
|
@ -370,7 +370,7 @@ switch (post('op')) {
|
|||
|
||||
$id_record = $ordine->id;
|
||||
}
|
||||
|
||||
|
||||
$parziale = false;
|
||||
$righe = $preventivo->getRighe();
|
||||
foreach ($righe as $riga) {
|
||||
|
|
Loading…
Reference in New Issue