This commit is contained in:
Thomas Zilio 2019-04-11 16:18:09 -07:00
parent 85d5ee692e
commit 02f0cd2593
3 changed files with 3 additions and 2 deletions

View File

@ -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;
}
/**

View File

@ -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);

View File

@ -370,7 +370,7 @@ switch (post('op')) {
$id_record = $ordine->id;
}
$parziale = false;
$righe = $preventivo->getRighe();
foreach ($righe as $riga) {