|
|
@@ -119,6 +119,7 @@ class Causal extends Component
|
|
|
$this->user_status = false;
|
|
|
$this->no_first = false;
|
|
|
$this->no_records = false;
|
|
|
+ $this->no_reports = false;
|
|
|
$this->enabled = true;
|
|
|
}
|
|
|
|
|
|
@@ -165,6 +166,7 @@ class Causal extends Component
|
|
|
'user_status' => $this->user_status,
|
|
|
'no_first' => $this->no_first,
|
|
|
'no_records' => $this->no_records,
|
|
|
+ 'no_reports' => $this->no_reports,
|
|
|
'enabled' => $this->enabled
|
|
|
]);
|
|
|
session()->flash('success', 'Causale creata');
|
|
|
@@ -189,6 +191,7 @@ class Causal extends Component
|
|
|
$this->user_status = $causal->user_status;
|
|
|
$this->no_first = $causal->no_first;
|
|
|
$this->no_records = $causal->no_records;
|
|
|
+ $this->no_reports = $causal->no_reports;
|
|
|
$this->enabled = $causal->enabled;
|
|
|
$this->corrispettivo_fiscale = $causal->corrispettivo_fiscale;
|
|
|
$this->type = $causal->type;
|
|
|
@@ -213,6 +216,7 @@ class Causal extends Component
|
|
|
'user_status' => $this->user_status,
|
|
|
'no_first' => $this->no_first,
|
|
|
'no_records' => $this->no_records,
|
|
|
+ 'no_reports' => $this->no_reports,
|
|
|
'money' => $this->money,
|
|
|
'no_receipt' => $this->no_receipt,
|
|
|
'corrispettivo_fiscale' => $this->corrispettivo_fiscale,
|