|
|
@@ -869,7 +869,7 @@ class Report extends Component
|
|
|
}
|
|
|
try {
|
|
|
\App\Models\Report::whereId($this->dataId)->update([
|
|
|
- 'name' => '0' . $this->protocollo_num . "/" . $this->protocollo_anno,
|
|
|
+ 'name' => str_pad($this->protocollo_num, 3, '0', STR_PAD_LEFT) . "/" . $this->protocollo_anno,
|
|
|
'necessita_nulla_osta' => $this->necessita_nulla_osta,
|
|
|
'data_nulla_osta' => $this->data_nulla_osta,
|
|
|
'protocollo_num' => $this->protocollo_num,
|