diff --git a/database/factories/UserBankSlipFactory.php b/database/factories/UserBankSlipFactory.php index e5406866..9ac7db69 100644 --- a/database/factories/UserBankSlipFactory.php +++ b/database/factories/UserBankSlipFactory.php @@ -11,6 +11,5 @@ $factory->define(App\UserBankSlip::class, function (Faker $faker) { 'transfer_amount' => $faker->randomDigit, 'cust_marking' => str_random(10), 'booking_id' => $faker->randomElement($book_id), - 'estimated_arrival_time' => $faker->randomDigit ]; }); diff --git a/resources/assets/js/pages/admin/booking/verification.vue b/resources/assets/js/pages/admin/booking/verification.vue index 638ec861..b9679652 100644 --- a/resources/assets/js/pages/admin/booking/verification.vue +++ b/resources/assets/js/pages/admin/booking/verification.vue @@ -309,6 +309,7 @@ approveUserSlip() { this.loading_btn = true + // TODO : this no longer used let newApprove = { estimated_arrival_time: this.estimated_arrival_time } @@ -340,6 +341,7 @@ this.centerDialogVisible = false let newApprove = { + // TODO : this no longer used estimated_arrival_time: this.estimated_arrival_time, reject_reason: this.reject_reason } diff --git a/tests/Feature/BookingTest.php b/tests/Feature/BookingTest.php index eef910be..bb43f344 100644 --- a/tests/Feature/BookingTest.php +++ b/tests/Feature/BookingTest.php @@ -134,7 +134,6 @@ class BookingTest extends TestCase { $this->actingAs($this->user) ->json('POST','/api/booking/' . $this->booking->id . '/approve-bank-slip', [ - 'estimated_arrival_time' => '6000' ]) ->assertSuccessful(); }