add scan serahan kpd pembida, add kebenaran bayaran tunai(xsiaplg), update xdeclarexlaku
This commit is contained in:
@@ -16,6 +16,7 @@ class CreateLelongsTable extends Migration
|
||||
Schema::create('taklaku', function (Blueprint $table) {
|
||||
$table->bigIncrements('id');
|
||||
$table->unsignedBigInteger('lelong_id')->unsigned();
|
||||
$table->string('caw_id');
|
||||
$table->string('kodcaw');
|
||||
$table->string('norujukan');
|
||||
$table->date('t_lelong');
|
||||
|
||||
@@ -77,7 +77,7 @@ class CreatePaymentTable extends Migration
|
||||
->onDelete('cascade');
|
||||
});
|
||||
|
||||
Schema::create('invoice', function (Blueprint $table) {
|
||||
Schema::create('listpengguna', function (Blueprint $table) {
|
||||
$table->bigIncrements('id');
|
||||
$table->unsignedBigInteger('user_id')->unsigned();
|
||||
$table->unsignedBigInteger('lelong_id')->unsigned();
|
||||
@@ -85,6 +85,7 @@ class CreatePaymentTable extends Migration
|
||||
$table->decimal('total_invoice', $precision = 11, $scale = 2);
|
||||
$table->string('invoice_type'); // 1 = fee , 2 = bid
|
||||
$table->string('status')->nullable(); //status => 1 = paid , 2 = pending
|
||||
$table->string('opencash')->nullable()->default(0);
|
||||
$table->timestamp('paid_at')->nullable();
|
||||
$table->timestamps();
|
||||
|
||||
@@ -108,6 +109,6 @@ class CreatePaymentTable extends Migration
|
||||
{
|
||||
Schema::dropIfExists('payment');
|
||||
Schema::dropIfExists('resit');
|
||||
Schema::dropIfExists('invoice');
|
||||
Schema::dropIfExists('listpengguna');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,11 +44,20 @@ class CreatePengesahanTable extends Migration
|
||||
$table->datetime('terima_marhun')->nullable();
|
||||
$table->datetime('serah_marhun')->nullable();
|
||||
$table->datetime('scan_masuk')->nullable();
|
||||
$table->integer('serahkpdpembida')->default(0);
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
Schema::create('scan_jual', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('kodcaw');
|
||||
$table->unsignedBigInteger('lelong_id')->unsigned();
|
||||
$table->integer('lelongbid_id');
|
||||
$table->string('norujukan');
|
||||
$table->string('khazanah_id', '100');
|
||||
$table->datetime('scan_keluar');
|
||||
$table->datetime('serah_marhun')->nullable();
|
||||
$table->integer('serahkpdpembida')->default(0);
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
|
||||
@@ -23,9 +23,9 @@ class CreateTangguhlelongTable extends Migration
|
||||
$table->datetime('tarikhtangguh')->nullable();
|
||||
$table->integer('ditangguh_oleh');
|
||||
$table->datetime('ditangguh_pada');
|
||||
$table->string('nota');
|
||||
$table->string('nota')->nullable();;
|
||||
$table->timestamps();
|
||||
$table->integer('status'); //new added
|
||||
$table->integer('status')->nullable();; //new added
|
||||
$table->string('filetype');
|
||||
|
||||
// $table->foreign('lelong_id')
|
||||
|
||||
Reference in New Issue
Block a user