| @@ -19,7 +19,7 @@ | ||
| 19 | 19 |      { | 
| 20 | 20 |          try { | 
| 21 | 21 |              if (!Schema::hasTable('ccavanue')) { | 
| 22 | -                Schema::create('ccavanue', function ($table) { | |
| 22 | +                Schema::create('ccavanue', function($table) { | |
| 23 | 23 |                      $table->increments('id'); | 
| 24 | 24 |                      $table->string('merchant_id'); | 
| 25 | 25 |                      $table->string('access_code'); | 
| @@ -19,7 +19,7 @@ | ||
| 19 | 19 |      { | 
| 20 | 20 |          try { | 
| 21 | 21 |              if (!Schema::hasTable('paypal')) { | 
| 22 | -                Schema::create('paypal', function ($table) { | |
| 22 | +                Schema::create('paypal', function($table) { | |
| 23 | 23 |                      $table->increments('id'); | 
| 24 | 24 |                      $table->string('business'); | 
| 25 | 25 |                      $table->string('cmd'); | 
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | |
| 3 | -\Event::listen('App\Events\PaymentGateway', function ($event) { | |
| 3 | +\Event::listen('App\Events\PaymentGateway', function($event) { | |
| 4 | 4 | $controller = new App\Plugins\Paypal\Controllers\ProcessController(); | 
| 5 | 5 | echo $controller->PassToPayment($event->para); | 
| 6 | 6 | }); | 
| @@ -3,7 +3,7 @@ | ||
| 3 | 3 |  Route::get('payment-gateway/ccavanue', 'App\Plugins\Ccavanue\Controllers\SettingsController@Settings'); | 
| 4 | 4 |  Route::patch('payment-gateway/ccavanue', 'App\Plugins\Ccavanue\Controllers\SettingsController@postSettings'); | 
| 5 | 5 | Route::match(['get', 'post'], 'payment-gateway/response', 'App\Plugins\Ccavanue\Controllers\ProcessController@response'); | 
| 6 | -\Event::listen('App\Events\PaymentGateway', function ($event) { | |
| 6 | +\Event::listen('App\Events\PaymentGateway', function($event) { | |
| 7 | 7 | $controller = new App\Plugins\Ccavanue\Controllers\ProcessController(); | 
| 8 | 8 | echo $controller->PassToPayment($event->para); | 
| 9 | 9 | }); | 
| @@ -50,7 +50,7 @@ | ||
| 50 | 50 | */ | 
| 51 | 51 | public function startsWith($letter) | 
| 52 | 52 |      { | 
| 53 | -        return array_filter($this->items, function ($item) use ($letter) { | |
| 53 | +        return array_filter($this->items, function($item) use ($letter) { | |
| 54 | 54 | return stripos($item, $letter) === 0; | 
| 55 | 55 | }); | 
| 56 | 56 | } | 
| @@ -52,8 +52,8 @@ discard block | ||
| 52 | 52 | protected function mapWebRoutes() | 
| 53 | 53 |      { | 
| 54 | 54 |          Route::middleware('web') | 
| 55 | - ->namespace($this->namespace) | |
| 56 | -             ->group(base_path('routes/web.php')); | |
| 55 | + ->namespace($this->namespace) | |
| 56 | +                ->group(base_path('routes/web.php')); | |
| 57 | 57 | } | 
| 58 | 58 | |
| 59 | 59 | /** | 
| @@ -66,8 +66,8 @@ discard block | ||
| 66 | 66 | protected function mapApiRoutes() | 
| 67 | 67 |      { | 
| 68 | 68 |          Route::prefix('api') | 
| 69 | -             ->middleware('api') | |
| 70 | - ->namespace($this->namespace) | |
| 71 | -             ->group(base_path('routes/api.php')); | |
| 69 | +                ->middleware('api') | |
| 70 | + ->namespace($this->namespace) | |
| 71 | +                ->group(base_path('routes/api.php')); | |
| 72 | 72 | } | 
| 73 | 73 | } | 
| @@ -48,7 +48,7 @@ | ||
| 48 | 48 | <div class="pull-right"> | 
| 49 | 49 | |
| 50 | 50 | <?php | 
| 51 | - $status=0; | |
| 51 | + $status = 0; | |
| 52 | 52 | |
| 53 | 53 | ?> | 
| 54 | 54 |                              <div class="btn-group {{$status == '0' ? 'locked_active unlocked_inactive' : 'locked_inactive unlocked_active'}}" id="toggle_event" style="margin-top:-8px"> | 
| @@ -31,7 +31,7 @@ | ||
| 31 | 31 | return ''; | 
| 32 | 32 | |
| 33 | 33 |          // return "Product  has been {$eventName}"; | 
| 34 | - // \Auth::user()->activity; | |
| 34 | + // \Auth::user()->activity; | |
| 35 | 35 | } | 
| 36 | 36 | |
| 37 | 37 | public function planPrice() | 
| @@ -37,7 +37,7 @@ | ||
| 37 | 37 | return ''; | 
| 38 | 38 | |
| 39 | 39 |          // return "Product  has been {$eventName}"; | 
| 40 | - // \Auth::user()->activity; | |
| 40 | + // \Auth::user()->activity; | |
| 41 | 41 | } | 
| 42 | 42 | |
| 43 | 43 | public function invoiceItem() |