[WIP] Claims

This commit is contained in:
R
2022-12-13 12:47:12 +07:00
parent 23468df422
commit 6a4447a549
17 changed files with 192 additions and 9 deletions

View File

@@ -17,11 +17,11 @@ return new class extends Migration
$table->id();
$table->string('code')->index();
$table->foreignId('member_id')->index();
$table->foreignId('diagnosis_id')->index();
$table->string('total_claim');
$table->foreignId('diagnosis_id')->index()->nullable();
$table->string('total_claim')->nullable();
$table->string('currency');
$table->foreignId('plan_id')->index();
$table->foreignId('benefit_id')->index();
$table->foreignId('plan_id')->index()->nullable();
$table->foreignId('benefit_id')->index()->nullable();
$table->string('status');
@@ -31,6 +31,9 @@ return new class extends Migration
$table->dateTime('received_at')->nullable();
$table->unsignedBigInteger('received_by')->nullable()->index();
$table->dateTime('approved_at')->nullable();
$table->unsignedBigInteger('approved_by')->nullable()->index();
$table->dateTime('declined')->nullable();
$table->unsignedBigInteger('declined_by')->nullable()->index();