#11 inline editing for pivot values for price/cost/capacity on fares

This commit is contained in:
Nabeel Shahzad
2017-06-13 15:11:11 -05:00
parent 4b137460e3
commit 15ed2bd846
7 changed files with 90 additions and 20 deletions

View File

@@ -17,7 +17,7 @@ class CreateFaresTable extends Migration
$table->increments('id');
$table->string('code');
$table->string('name');
$table->float('price');
$table->float('price')->default(0.0);
$table->float('cost')->default(0.0);
$table->integer('capacity')->default(0);
$table->string('notes')->nullable();
@@ -32,7 +32,7 @@ class CreateFaresTable extends Migration
$table->integer('fare_id');
$table->float('price')->nullable();
$table->float('cost')->nullable();
$table->float('capacity')->nullable();
$table->integer('capacity')->nullable();
$table->timestamps();
$table->softDeletes();
});