sistemato alcuni riferimenti ad importo e modifica per sole spese. Vedere anche per entrate

This commit is contained in:
2025-08-07 16:10:49 +02:00
parent f82f65a0c5
commit 9320ce76a1
6 changed files with 112 additions and 84 deletions

View File

@@ -20,8 +20,8 @@ class CreateMovimentisTable extends Migration
$table->unsignedBigInteger('mov_fk_categoria');
$table->foreign('mov_fk_categoria')->references('id')->on('categories');
$table->longText('mov_descrizione');
$table->decimal('mov_importo_dare',8,2);
$table->decimal('mov_importo_avere',8,2);
$table->decimal('mov_importo_dare',8,2)->nullable();
$table->decimal('mov_importo_avere',8,2)->nullable();
$table->unsignedBigInteger('mov_inserito_da');
$table->foreign('mov_inserito_da')->references('id')->on('users');
$table->unsignedBigInteger('mov_fk_tags');