Compare commits

..

No commits in common. "0668026eb7fa02af36fabff34898cef066abe976" and "a827342a304bb4d30f37fda08a63eab04f8f8e21" have entirely different histories.

3 changed files with 8 additions and 11 deletions

View File

@ -16,17 +16,16 @@ class CreateContrattisTable extends Migration
Schema::create('contrattis', function (Blueprint $table) {
$table->id();
$table->timestamps();
$table->string('numero', 100)->nullable();
$table->string('nome', 100);
$table->date('datainizio');
$table->date('datatermine');
$table->string('numero', 100)->nullable()->default('N/D');
$table->string('nome', 100)->nullable();
$table->date('datainizio')->nullable()->default(new DateTime());
$table->date('datatermine')->nullable()->default(new DateTime());
$table->string('fornitore', 100)->default('text');
$table->string('tipo', 100)->default('utenze');
$table->decimal('importo', 5, 2);
$table->date('scadenzapagamento');
$table->decimal('importo', 5, 2)->nullable()->default(123.45);
$table->date('scadenzapagamento')->nullable()->default(new DateTime());
$table->string('stato', 100)->default('attivo');
$table->longText('note')->nullable();
$table->string('filename',255)->nullable();
});
}

View File

@ -11,8 +11,6 @@ $(document).ready(function() {
});
});
$(".draggable").draggable();
var d = new Date();
var month = d.getMonth()+1;

View File

@ -59,9 +59,9 @@
</div>
</div>
<!-- MODAL NEW -->
<div class="modal fade " id="myModal" tabindex="-1" role="dialog"
<div class="modal fade" id="myModal" tabindex="-1" role="dialog"
aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog draggable" role="document">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Nuovo movimento</h4>