penggabungan feature proses penawaran dan feature proses penawaran ulang, dan terkait keinginan user

This commit is contained in:
Andy Chaerudin
2024-11-13 16:40:52 +07:00
27 changed files with 1850 additions and 403 deletions

View File

@@ -20,7 +20,7 @@ return new class extends Migration
$table->string('kontur_tanah');
$table->string('ketinggian_jalan');
$table->string('kontur_jalan');
$table->string('posis_kavling');
$table->string('posisi_kavling');
$table->enum('tusuk_sate', ['yes', 'no']);
$table->enum('lockland', ['yes', 'no']);
$table->string('kondisi_fisik_tanah');

View File

@@ -15,6 +15,7 @@ return new class extends Migration
$table->id();
$table->string('name');
$table->string('code');
$table->unsignedBigInteger('kategori_jenis_aset_id'); // Add this line
$table->foreign('kategori_jenis_aset_id')->references('id')->on('kategori_jenis_aset');
$table->boolean('status')->default(true);
$table->char('authorized_status', 1)->nullable();

View File

@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('detail_dokumen_jaminan', function (Blueprint $table) {
$table->string('dokumen_nomor')->nullable()->after('dokumen_jaminan');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('detail_dokumen_jaminan', function (Blueprint $table) {
$table->dropColumn('dokumen_nomor');
});
}
};

View File

@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('detail_penawaran', function (Blueprint $table) {
$table->string('no_proposal')->nullable()->after('penawaran_id');
$table->date('tgl_proposal')->nullable()->after('no_proposal');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('detail_penawaran', function (Blueprint $table) {
$table->dropColumn('no_proposal');
$table->dropColumn('tgl_proposal');
});
}
};

View File

@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('detail_penawaran_logs', function (Blueprint $table) {
$table->string('no_proposal')->nullable()->after('penawaran_id');
$table->date('tgl_proposal')->nullable()->after('no_proposal');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('detail_penawaran_logs', function (Blueprint $table) {
$table->dropColumn('no_proposal');
$table->dropColumn('tgl_proposal');
});
}
};