Client/User dapat melihat Claim Report di client portal
This commit is contained in:
ivan-sim
2023-10-12 14:38:16 +07:00
parent c767c676f4
commit 6b931a904d
14 changed files with 757 additions and 15 deletions

View File

@@ -0,0 +1,37 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('claim_logs', function (Blueprint $table) {
$table->id();
$table->bigInteger('claim_request_id');
$table->string('status', 255);
$table->dateTime('date');
$table->text('description')->nullable();
$table->text('device')->nullable();
$table->bigInteger('created_by');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('claim_logs');
}
};

View File

@@ -0,0 +1,36 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('claim_request_files', function (Blueprint $table) {
$table->id();
$table->bigInteger('claim_request_id');
$table->dateTime('date');
$table->string('type', 255);
$table->text('description')->nullable();
$table->bigInteger('created_by');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('claim_request_files');
}
};