update model & select bid item

This commit is contained in:
faiqahzaman
2022-01-25 16:12:52 +08:00
parent f3673c2a3f
commit d73884f417
6 changed files with 29 additions and 27 deletions
@@ -22,8 +22,8 @@ class CreateLelongbidderTable extends Migration
$table->string('notelbimbit');
$table->decimal('nilaimarhun');
$table->decimal('cajlelong');
$table->integer('status_bidder')->nullable();
$table->integer('status_payment')->nullable();
$table->integer('status_bidder')->nullable(); //1 = win
$table->integer('status_payment')->nullable(); // 1=paid
$table->datetime('masa_bidaan');
$table->timestamps();
@@ -50,8 +50,8 @@ class CreatePaymentTable extends Migration
$table->string('reference_no')->nullable();
$table->string('billplz_id');
$table->decimal('total_payment', $precision = 9, $scale = 2);
$table->string('resit_type');
$table->string('status')->nullable();
$table->string('resit_type'); // 1 = fee , 2 = bid
$table->string('status')->nullable(); //status => 1 = paid , 2 = pending
$table->timestamp('paid_at')->nullable();
$table->timestamps();