瀏覽代碼

refactor: ♻️ Removed PAYPAL_EMAIL env -> not being used && removed info row in checkout -> unnecessary | closes #353

IceToast 3 年之前
父節點
當前提交
669939f8c3
共有 2 個文件被更改,包括 0 次插入27 次删除
  1. 0 1
      .env.example
  2. 0 26
      resources/views/store/checkout.blade.php

+ 0 - 1
.env.example

@@ -34,7 +34,6 @@ PAYPAL_SANDBOX_SECRET=
 PAYPAL_SANDBOX_CLIENT_ID=
 PAYPAL_SECRET=
 PAYPAL_CLIENT_ID=
-PAYPAL_EMAIL=
 
 
 #stripe details, you only need "test" for testing! you can do this by setting the APP_ENV to local

+ 0 - 26
resources/views/store/checkout.blade.php

@@ -43,32 +43,6 @@
                             </div>
                             <!-- /.col -->
                         </div>
-                        <!-- info row -->
-                        <div class="row invoice-info">
-                            <div class="col-sm-4 invoice-col">
-                                {{ __('To') }}
-                                <address>
-                                    <strong>{{ config('app.name', 'Controlpanel.GG') }}</strong><br>
-                                    {{ __('Email') }}: {{ env('PAYPAL_EMAIL', env('MAIL_FROM_NAME')) }}
-                                </address>
-                            </div>
-                            <!-- /.col -->
-                            <div class="col-sm-4 invoice-col">
-                                {{ __('From') }}
-                                <address>
-                                    <strong>{{ Auth::user()->name }}</strong><br>
-                                    {{ __('Email') }}: {{ Auth::user()->email }}
-                                </address>
-                            </div>
-                            <!-- /.col -->
-                            <div class="col-sm-4 invoice-col">
-                                <b>{{ __('Status') }}</b><br>
-                                <span class="badge badge-warning">{{ __('Pending') }}</span><br>
-                                {{-- <b>Order ID:</b> 4F3S8J<br> --}}
-                            </div>
-                            <!-- /.col -->
-                        </div>
-                        <!-- /.row -->
 
                         <!-- Table row -->
                         <div class="row">