refactor invoice & estimate migrations

This commit is contained in:
raishvaria
2019-12-04 16:38:25 +05:30
parent 122c4f478f
commit 9b9761aa5a
7 changed files with 34 additions and 9 deletions

View File

@ -25,7 +25,7 @@ class CreateInvoicesTable extends Migration
$table->string('discount_per_item');
$table->text('notes')->nullable();
$table->string('discount_type')->nullable();
$table->unsignedBigInteger('discount')->nullable();
$table->decimal('discount', 15, 2)->nullable();
$table->unsignedBigInteger('discount_val')->nullable();
$table->unsignedBigInteger('sub_total');
$table->unsignedBigInteger('total');