@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | } |
| 176 | 176 | $url = $this->url; |
| 177 | 177 | $isIP = (bool) ip2long($domain); |
| 178 | - if ($isIP == true) { |
|
| 178 | + if ($isIP == true) { |
|
| 179 | 179 | $requiredomain = 0; |
| 180 | 180 | $ip = $domain; |
| 181 | 181 | $domain = ''; |
@@ -260,7 +260,7 @@ discard block |
||
| 260 | 260 | } |
| 261 | 261 | } |
| 262 | 262 | return ['installed_path' => $installation_domain , 'installed_ip' => $installation_ip]; |
| 263 | - } |
|
| 263 | + } |
|
| 264 | 264 | |
| 265 | 265 | //Update Expiration Date After Renewal |
| 266 | 266 | public function updateExpirationDate($licenseCode, $expiryDate, $productId, $domain, $orderNo, $licenseExpiry, $supportExpiry) |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | |
| 146 | 146 | $order_id = $order->id; |
| 147 | 147 | $updatesEndDate = Subscription::select('update_ends_at') |
| 148 | - ->where('product_id', $productid)->where('order_id', $order_id)->first(); |
|
| 148 | + ->where('product_id', $productid)->where('order_id', $order_id)->first(); |
|
| 149 | 149 | if ($updatesEndDate) { |
| 150 | 150 | foreach ($versions as $version) { |
| 151 | 151 | if ($version->created_at->toDateTimeString() |
@@ -369,7 +369,7 @@ discard block |
||
| 369 | 369 | $plan = $subscription->plan()->first(); |
| 370 | 370 | } |
| 371 | 371 | $licenseStatus = StatusSetting::pluck('license_status')->first(); |
| 372 | - if ($licenseStatus == 1) { |
|
| 372 | + if ($licenseStatus == 1) { |
|
| 373 | 373 | $cont = new \App\Http\Controllers\License\LicenseController(); |
| 374 | 374 | $installationDetails = $cont->searchInstallationPath($order->serial_key,$order->product); |
| 375 | 375 | } |
@@ -423,9 +423,9 @@ discard block |
||
| 423 | 423 | ->addColumn('payment_method', function ($model) { |
| 424 | 424 | return $model->payment_method; |
| 425 | 425 | }) |
| 426 | - ->addColumn('payment_status', function ($model) { |
|
| 427 | - return $model->payment_status; |
|
| 428 | - }) |
|
| 426 | + ->addColumn('payment_status', function ($model) { |
|
| 427 | + return $model->payment_status; |
|
| 428 | + }) |
|
| 429 | 429 | ->addColumn('created_at', function ($model) { |
| 430 | 430 | $date1 = new DateTime($model->created_at); |
| 431 | 431 | $tz = \Auth::user()->timezone()->first()->name; |
@@ -435,7 +435,7 @@ discard block |
||
| 435 | 435 | return $date; |
| 436 | 436 | }) |
| 437 | 437 | ->rawColumns(['checkbox', 'number', 'amount', |
| 438 | - 'payment_method', 'payment_status', 'created_at', ]) |
|
| 438 | + 'payment_method', 'payment_status', 'created_at', ]) |
|
| 439 | 439 | ->make(true); |
| 440 | 440 | } catch (Exception $ex) { |
| 441 | 441 | Bugsnag::notifyException($ex); |
@@ -461,17 +461,17 @@ discard block |
||
| 461 | 461 | ->addColumn('number', function ($model) { |
| 462 | 462 | return $model->invoice()->first()->number; |
| 463 | 463 | }) |
| 464 | - ->addColumn('total', function ($model) { |
|
| 465 | - return $model->amount; |
|
| 466 | - }) |
|
| 467 | - ->addColumn('created_at', function ($model) { |
|
| 468 | - $date1 = new DateTime($model->created_at); |
|
| 469 | - $tz = \Auth::user()->timezone()->first()->name; |
|
| 470 | - $date1->setTimezone(new DateTimeZone($tz)); |
|
| 471 | - $date = $date1->format('M j, Y, g:i a'); |
|
| 472 | - |
|
| 473 | - return $date; |
|
| 474 | - }) |
|
| 464 | + ->addColumn('total', function ($model) { |
|
| 465 | + return $model->amount; |
|
| 466 | + }) |
|
| 467 | + ->addColumn('created_at', function ($model) { |
|
| 468 | + $date1 = new DateTime($model->created_at); |
|
| 469 | + $tz = \Auth::user()->timezone()->first()->name; |
|
| 470 | + $date1->setTimezone(new DateTimeZone($tz)); |
|
| 471 | + $date = $date1->format('M j, Y, g:i a'); |
|
| 472 | + |
|
| 473 | + return $date; |
|
| 474 | + }) |
|
| 475 | 475 | |
| 476 | 476 | ->addColumn('payment_method', 'payment_status', 'created_at') |
| 477 | 477 | |