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');
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user