Mengubah tampilan pada edit dan create email kantor, PIC Reviewer, PIC Admin, PIC Marketing pada Menu Basic Data -> KJPP part 1
This commit is contained in:
@@ -18,23 +18,23 @@ return new class extends Migration
|
||||
$table->string('jenis_kantor');
|
||||
$table->string('nomor_ijin_usaha');
|
||||
$table->string('province_code');
|
||||
$table->string('city_code');
|
||||
$table->string('district_code');
|
||||
$table->string('village_code');
|
||||
$table->string('city_code')->nullable();
|
||||
$table->string('district_code')->nullable();
|
||||
$table->string('village_code')->nullable();
|
||||
$table->string('address');
|
||||
$table->string('postal_code');
|
||||
$table->string('nomor_telepon_kantor');
|
||||
$table->string('postal_code')->nullable();
|
||||
$table->string('nomor_telepon_kantor')->nullable();
|
||||
$table->string('email_kantor');
|
||||
$table->string('nama_pimpinan');
|
||||
$table->string('nomor_hp_pimpinan');
|
||||
$table->string('nama_pic_reviewer');
|
||||
$table->string('nomor_hp_pic_reviewer');
|
||||
$table->string('nama_pic_admin');
|
||||
$table->string('nomor_hp_pic_admin');
|
||||
$table->string('nama_pic_marketing');
|
||||
$table->string('nomor_hp_pic_marketing');
|
||||
$table->string('ijin_usaha_id')->nullable();
|
||||
$table->string('jenis_aset_id')->nullable();
|
||||
$table->string('nama_pic_reviewer')->nullable();
|
||||
$table->string('nomor_hp_pic_reviewer')->nullable();
|
||||
$table->string('nama_pic_admin')->nullable();
|
||||
$table->string('nomor_hp_pic_admin')->nullable();
|
||||
$table->string('nama_pic_marketing')->nullable();
|
||||
$table->string('nomor_hp_pic_marketing')->nullable();
|
||||
$table->string('ijin_usaha_id');
|
||||
$table->string('jenis_aset_id');
|
||||
$table->string('attachment')->nullable();
|
||||
$table->boolean('status')->default(true)->nullable();
|
||||
$table->char('authorized_status', 1)->nullable();
|
||||
|
||||
40
database/migrations/2024_11_05_031735_update_kjpp_table.php
Normal file
40
database/migrations/2024_11_05_031735_update_kjpp_table.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<?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('kjpp', function (Blueprint $table) {
|
||||
$table->string('detail_email_kantor')->nullable()->after('email_kantor');
|
||||
$table->string('detail_nama_pic_reviewer')->nullable()->after('nama_pic_reviewer');
|
||||
$table->string('detail_nomor_hp_pic_reviewer')->nullable()->after('nomor_hp_pic_reviewer');
|
||||
$table->string('detail_nama_pic_admin')->nullable()->after('nama_pic_admin');
|
||||
$table->string('detail_nomor_hp_pic_admin')->nullable()->after('nomor_hp_pic_admin');
|
||||
$table->string('detail_nama_pic_marketing')->nullable()->after('nama_pic_marketing');
|
||||
$table->string('detail_nomor_hp_pic_marketing')->nullable()->after('nomor_hp_pic_marketing');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('kjpp', function (Blueprint $table) {
|
||||
$table->dropColumn('detail_email_kantor');
|
||||
$table->dropColumn('detail_nama_pic_reviewer');
|
||||
$table->dropColumn('detail_nomor_hp_pic_reviewer');
|
||||
$table->dropColumn('detail_nama_pic_admin');
|
||||
$table->dropColumn('detail_nomor_hp_pic_admin');
|
||||
$table->dropColumn('detail_nama_pic_marketing');
|
||||
$table->dropColumn('detail_nomor_hp_pic_marketing');
|
||||
});
|
||||
}
|
||||
};
|
||||
@@ -17,6 +17,8 @@ class JenisLegalitasJaminanSeeder extends Seeder
|
||||
'code' => 'JLJ001',
|
||||
'name' => 'Sertifikat',
|
||||
'slug' => 'sertifikat',
|
||||
'custom_field' => 'Luas Tanah',
|
||||
'custom_field_type' => 'number',
|
||||
'status' => 1,
|
||||
'created_at' => now(),
|
||||
'updated_at' => now(),
|
||||
@@ -85,6 +87,20 @@ class JenisLegalitasJaminanSeeder extends Seeder
|
||||
'updated_by' => 1,
|
||||
'deleted_by' => null
|
||||
],
|
||||
[
|
||||
'code' => 'JLJ007',
|
||||
'name' => 'IMB',
|
||||
'slug' => 'imb',
|
||||
'custom_field' => 'Luas Bangunan',
|
||||
'custom_field_type' => 'number',
|
||||
'status' => 1,
|
||||
'created_at' => now(),
|
||||
'updated_at' => now(),
|
||||
'deleted_at' => null,
|
||||
'created_by' => 1,
|
||||
'updated_by' => 1,
|
||||
'deleted_by' => null
|
||||
]
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,34 +12,34 @@ class LpjDatabaseSeeder extends Seeder
|
||||
public function run(): void
|
||||
{
|
||||
$this->call([
|
||||
BranchSeeder::class,
|
||||
CurrencySeeder::class,
|
||||
JenisFasilitasKreditSeeder::class,
|
||||
JenisLegalitasJaminanSeeder::class,
|
||||
JenisJaminanSeeder::class,
|
||||
JenisDokumenSeeder::class,
|
||||
TujuanPenilaianSeeder::class,
|
||||
NilaiPlatformSeeder::class,
|
||||
HubunganPemilikJaminanSeeder::class,
|
||||
HubunganPenghuniJaminanSeeder::class,
|
||||
ArahMataAnginSeeder::class,
|
||||
StatusPermohonanSeeder::class,
|
||||
RegionSeeder::class,
|
||||
TeamsSeeder::class,
|
||||
TeamUsersSeeder::class,
|
||||
JenisPenilaianSeeder::class,
|
||||
TujuanPenilaianKJPPSeeder::class,
|
||||
IjinUsahaSeeder::class,
|
||||
JenisLaporanSeeder::class,
|
||||
KJPPSeeder::class,
|
||||
DebitureSeeder::class,
|
||||
PermohonanSeeder::class,
|
||||
// BranchSeeder::class,
|
||||
// CurrencySeeder::class,
|
||||
// JenisFasilitasKreditSeeder::class,
|
||||
// JenisLegalitasJaminanSeeder::class,
|
||||
// JenisJaminanSeeder::class,
|
||||
// JenisDokumenSeeder::class,
|
||||
// TujuanPenilaianSeeder::class,
|
||||
// NilaiPlatformSeeder::class,
|
||||
// HubunganPemilikJaminanSeeder::class,
|
||||
// HubunganPenghuniJaminanSeeder::class,
|
||||
// ArahMataAnginSeeder::class,
|
||||
// StatusPermohonanSeeder::class,
|
||||
// RegionSeeder::class,
|
||||
// TeamsSeeder::class,
|
||||
// TeamUsersSeeder::class,
|
||||
// JenisPenilaianSeeder::class,
|
||||
// TujuanPenilaianKJPPSeeder::class,
|
||||
// IjinUsahaSeeder::class,
|
||||
// JenisLaporanSeeder::class,
|
||||
// DebitureSeeder::class,
|
||||
// PermohonanSeeder::class,
|
||||
PemilikJaminanSeeder::class,
|
||||
DokumenJaminanSeeder::class,
|
||||
DetailDokumenJaminanSeeder::class,
|
||||
PenawaranSeeder::class,
|
||||
DetailPenawaranSeeder::class,
|
||||
PenilaianSeeder::class,
|
||||
// DokumenJaminanSeeder::class,
|
||||
// DetailDokumenJaminanSeeder::class,
|
||||
// KJPPSeeder::class,
|
||||
// PenawaranSeeder::class,
|
||||
// DetailPenawaranSeeder::class,
|
||||
// PenilaianSeeder::class,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ class PermohonanSeeder extends Seeder
|
||||
'branch_id' => 1,
|
||||
'tujuan_penilaian_id' => 1,
|
||||
'debiture_id' => 1,
|
||||
'status' => 'persetujuan-penawaran',
|
||||
'status' => 'registered',
|
||||
'created_at' => now(),
|
||||
'updated_at' => now(),
|
||||
'created_by' => 1,
|
||||
@@ -38,7 +38,7 @@ class PermohonanSeeder extends Seeder
|
||||
'branch_id' => 1,
|
||||
'tujuan_penilaian_id' => 1,
|
||||
'debiture_id' => 1,
|
||||
'status' => 'tender',
|
||||
'status' => 'registered',
|
||||
'created_at' => now(),
|
||||
'updated_at' => now(),
|
||||
'created_by' => 1,
|
||||
|
||||
Reference in New Issue
Block a user