diff --git a/.env.example b/.env.example index 4746e566..7682d66b 100644 --- a/.env.example +++ b/.env.example @@ -3,6 +3,7 @@ APP_ENV=local APP_KEY= APP_DEBUG=true APP_URL=http://localhost +APP_PEMBIDA=http://localhost:8080/ API_URL=https://api_arrahn.test/lelong/ API_URL_KAUNTER=http://kaunter.test/ API_VERIFY = false diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index 007f0642..72454342 100644 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -140,8 +140,8 @@ class UserController extends Controller $user['password'] = Hash::make($request->password); $user->save(); // dd($user->user_type); - if($user->user_type = 2){ - return redirect()->to('https://bid.arrahn.com.my'); + if($user->user_type == 2){ + return redirect()->to(config('app.app_pembida')); } return redirect()->route('login')->with('success', 'Berjaya! Katalaluan Anda Telah Didaftarkan.'); diff --git a/config/app.php b/config/app.php index ecfd2ec1..4ed0c00f 100644 --- a/config/app.php +++ b/config/app.php @@ -249,4 +249,5 @@ return [ 'api_url_kaunter' => env('API_URL_KAUNTER', 'http://localhost'), + 'app_pembida' => env('APP_PEMBIDA', 'http://localhost:8080'), ]; diff --git a/resources/views/pembida/feePaymentResult.blade.php b/resources/views/pembida/feePaymentResult.blade.php index a4260ee1..c2b45225 100644 --- a/resources/views/pembida/feePaymentResult.blade.php +++ b/resources/views/pembida/feePaymentResult.blade.php @@ -13,11 +13,7 @@ @if ($success == true)

- @if ($result['total_payment'] <= 11 ) -

Pembayaran Yuran Berjaya

- @else

Pembayaran Bidaan Berjaya

- @endif

*Sila rujuk e-mel anda untuk resit bayaran.

@@ -105,8 +101,7 @@ @endif
diff --git a/resources/views/template/pemenang.blade.php b/resources/views/template/pemenang.blade.php index 2fdd6b33..c742eb78 100644 --- a/resources/views/template/pemenang.blade.php +++ b/resources/views/template/pemenang.blade.php @@ -57,7 +57,7 @@

- LOG MASUK ARRAHNBID + LOG MASUK ARRAHNBID

diff --git a/resources/views/template/reset-password.blade.php b/resources/views/template/reset-password.blade.php index 9703c412..fdec30be 100644 --- a/resources/views/template/reset-password.blade.php +++ b/resources/views/template/reset-password.blade.php @@ -61,7 +61,7 @@

- Tukar Katalaluan Anda + Tukar Katalaluan Anda