update semakan marhun dan cutomize table
This commit is contained in:
@@ -61,6 +61,24 @@ class CreatePengesahanTable extends Migration
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
Schema::create('temppengesahan', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->unsignedBigInteger('lelong_id')->unsigned();
|
||||
$table->unsignedBigInteger('lelongbid_id')->unsigned();
|
||||
$table->unsignedBigInteger('lelongbidmarhun_id')->unsigned();
|
||||
$table->string('norujukan');
|
||||
$table->integer('disahkan_oleh')->nullable();
|
||||
$table->datetime('disahkan_pada')->nullable();
|
||||
$table->integer('diminta_oleh');
|
||||
$table->datetime('diminta_pada');
|
||||
$table->integer('status')->default(0); //1 = terima, 2 = tangguh lelong
|
||||
$table->integer('status_ubah')->default(0); //1 = ubah mutu, 2 = tambah marhun, 3 = hapus marhun, 4 = ubah berat, 5 = ubah mutu & berat, 6 = tangguh lelong pc, 7 = ubah marhun,8 = ubah mutu, berat dan marhun,9=ubah mutu dan marhun,10=ubah berat dan marhun
|
||||
$table->string('request_berat')->nullable();
|
||||
$table->string('request_karat')->nullable();
|
||||
$table->string('request_marhun')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -73,5 +91,6 @@ class CreatePengesahanTable extends Migration
|
||||
Schema::dropIfExists('pengesahan');
|
||||
Schema::dropIfExists('scan_semak');
|
||||
Schema::dropIfExists('scan_jual');
|
||||
Schema::dropIfExists('temppengesahan');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user