validation and status changes

This commit is contained in:
jayvirsinh_gohil
2019-11-12 18:26:29 +05:30
parent 4decc56b7c
commit a144b67a4e
19 changed files with 72 additions and 62 deletions

View File

@ -30,7 +30,7 @@ class CreateTaxesTable extends Migration
$table->integer('company_id')->unsigned()->nullable();
$table->foreign('company_id')->references('id')->on('companies');
$table->string('name');
$table->decimal('amount', 15, 0);
$table->unsignedBigInteger('amount');
$table->decimal('percent', 5, 2);
$table->tinyInteger('compound_tax')->default(0);
$table->timestamps();