Browse Source

fix insert ricevute

FabioFratini 9 months ago
parent
commit
c73e96ee1b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/Http/Livewire/RecordIN.php

+ 2 - 1
app/Http/Livewire/RecordIN.php

@@ -573,7 +573,8 @@ class RecordIN extends Component
                 'type' => $this->type,
                 'type' => $this->type,
                 'financial_movement' => $this->financial_movement,
                 'financial_movement' => $this->financial_movement,
                 'deleted' => $this->deleted,
                 'deleted' => $this->deleted,
-                'numero_fattura' => ''
+                'numero_fattura' => '',
+                'amount' => 0
             ]);
             ]);
             $this->dataId = $record->id;
             $this->dataId = $record->id;