@@ -50,7 +50,7 @@ |
||
| 50 | 50 | return (new MailMessage) |
| 51 | 51 | ->subject('subscribed Successfully!') |
| 52 | 52 | ->line('You have subscribed successfully!') |
| 53 | - ->line('Subscription Plan:'.$this->plan->nickname) |
|
| 53 | + ->line('Subscription Plan:' . $this->plan->nickname) |
|
| 54 | 54 | ->line('Thank you for using Genealogia!'); |
| 55 | 55 | } |
| 56 | 56 | |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | 'hash' => sha1($notifiable->getEmailForVerification()), |
| 46 | 46 | ]; |
| 47 | 47 | |
| 48 | - $url = env('FRONTEND_URL').'/verify-email?'; |
|
| 48 | + $url = env('FRONTEND_URL') . '/verify-email?'; |
|
| 49 | 49 | |
| 50 | 50 | foreach ($param as $key => $params) { |
| 51 | 51 | $url .= "{$key}={$params}&"; |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | return (new MailMessage) |
| 25 | 25 | ->subject('Your Reset Password Subject Here') |
| 26 | 26 | ->line('You are receiving this email because we received a password reset request for your account.') |
| 27 | - ->action('Reset Password', env('FRONTEND_URL', 'http://localhost:3000').'/password/reset/'.$this->token) |
|
| 27 | + ->action('Reset Password', env('FRONTEND_URL', 'http://localhost:3000') . '/password/reset/' . $this->token) |
|
| 28 | 28 | ->line('If you did not request a password reset, no further action is required.'); |
| 29 | 29 | } |
| 30 | 30 | } |
@@ -19,8 +19,8 @@ discard block |
||
| 19 | 19 | if ($request->has('searchTerm')) { |
| 20 | 20 | $columnsToSearch = ['name', 'email', 'phone']; |
| 21 | 21 | $search_term = json_decode($request->searchTerm)->searchTerm; |
| 22 | - if (! empty($search_term)) { |
|
| 23 | - $searchQuery = '%'.$search_term.'%'; |
|
| 22 | + if (!empty($search_term)) { |
|
| 23 | + $searchQuery = '%' . $search_term . '%'; |
|
| 24 | 24 | foreach ($columnsToSearch as $column) { |
| 25 | 25 | $query->orWhere($column, 'LIKE', $searchQuery); |
| 26 | 26 | } |
@@ -31,8 +31,8 @@ discard block |
||
| 31 | 31 | $filters = get_object_vars(json_decode($request->columnFilters)); |
| 32 | 32 | |
| 33 | 33 | foreach ($filters as $key => $value) { |
| 34 | - if (! empty($value)) { |
|
| 35 | - $query->orWhere($key, 'like', '%'.$value.'%'); |
|
| 34 | + if (!empty($value)) { |
|
| 35 | + $query->orWhere($key, 'like', '%' . $value . '%'); |
|
| 36 | 36 | } |
| 37 | 37 | } |
| 38 | 38 | } |
@@ -19,8 +19,8 @@ discard block |
||
| 19 | 19 | if ($request->has('searchTerm')) { |
| 20 | 20 | $columnsToSearch = ['name', 'email', 'phone']; |
| 21 | 21 | $search_term = json_decode($request->searchTerm)->searchTerm; |
| 22 | - if (! empty($search_term)) { |
|
| 23 | - $searchQuery = '%'.$search_term.'%'; |
|
| 22 | + if (!empty($search_term)) { |
|
| 23 | + $searchQuery = '%' . $search_term . '%'; |
|
| 24 | 24 | foreach ($columnsToSearch as $column) { |
| 25 | 25 | $query->orWhere($column, 'LIKE', $searchQuery); |
| 26 | 26 | } |
@@ -31,8 +31,8 @@ discard block |
||
| 31 | 31 | $filters = get_object_vars(json_decode($request->columnFilters)); |
| 32 | 32 | |
| 33 | 33 | foreach ($filters as $key => $value) { |
| 34 | - if (! empty($value)) { |
|
| 35 | - $query->orWhere($key, 'like', '%'.$value.'%'); |
|
| 34 | + if (!empty($value)) { |
|
| 35 | + $query->orWhere($key, 'like', '%' . $value . '%'); |
|
| 36 | 36 | } |
| 37 | 37 | } |
| 38 | 38 | } |
@@ -19,8 +19,8 @@ discard block |
||
| 19 | 19 | if ($request->has('searchTerm')) { |
| 20 | 20 | $columnsToSearch = ['name', 'email', 'phone']; |
| 21 | 21 | $search_term = json_decode($request->searchTerm)->searchTerm; |
| 22 | - if (! empty($search_term)) { |
|
| 23 | - $searchQuery = '%'.$search_term.'%'; |
|
| 22 | + if (!empty($search_term)) { |
|
| 23 | + $searchQuery = '%' . $search_term . '%'; |
|
| 24 | 24 | foreach ($columnsToSearch as $column) { |
| 25 | 25 | $query->orWhere($column, 'LIKE', $searchQuery); |
| 26 | 26 | } |
@@ -31,8 +31,8 @@ discard block |
||
| 31 | 31 | $filters = get_object_vars(json_decode($request->columnFilters)); |
| 32 | 32 | |
| 33 | 33 | foreach ($filters as $key => $value) { |
| 34 | - if (! empty($value)) { |
|
| 35 | - $query->orWhere($key, 'like', '%'.$value.'%'); |
|
| 34 | + if (!empty($value)) { |
|
| 35 | + $query->orWhere($key, 'like', '%' . $value . '%'); |
|
| 36 | 36 | } |
| 37 | 37 | } |
| 38 | 38 | } |
@@ -19,8 +19,8 @@ discard block |
||
| 19 | 19 | if ($request->has('searchTerm')) { |
| 20 | 20 | $columnsToSearch = ['name', 'email', 'phone']; |
| 21 | 21 | $search_term = json_decode($request->searchTerm)->searchTerm; |
| 22 | - if (! empty($search_term)) { |
|
| 23 | - $searchQuery = '%'.$search_term.'%'; |
|
| 22 | + if (!empty($search_term)) { |
|
| 23 | + $searchQuery = '%' . $search_term . '%'; |
|
| 24 | 24 | foreach ($columnsToSearch as $column) { |
| 25 | 25 | $query->orWhere($column, 'LIKE', $searchQuery); |
| 26 | 26 | } |
@@ -31,8 +31,8 @@ discard block |
||
| 31 | 31 | $filters = get_object_vars(json_decode($request->columnFilters)); |
| 32 | 32 | |
| 33 | 33 | foreach ($filters as $key => $value) { |
| 34 | - if (! empty($value)) { |
|
| 35 | - $query->orWhere($key, 'like', '%'.$value.'%'); |
|
| 34 | + if (!empty($value)) { |
|
| 35 | + $query->orWhere($key, 'like', '%' . $value . '%'); |
|
| 36 | 36 | } |
| 37 | 37 | } |
| 38 | 38 | } |
@@ -19,8 +19,8 @@ discard block |
||
| 19 | 19 | if ($request->has('searchTerm')) { |
| 20 | 20 | $columnsToSearch = ['name', 'email', 'phone']; |
| 21 | 21 | $search_term = json_decode($request->searchTerm)->searchTerm; |
| 22 | - if (! empty($search_term)) { |
|
| 23 | - $searchQuery = '%'.$search_term.'%'; |
|
| 22 | + if (!empty($search_term)) { |
|
| 23 | + $searchQuery = '%' . $search_term . '%'; |
|
| 24 | 24 | foreach ($columnsToSearch as $column) { |
| 25 | 25 | $query->orWhere($column, 'LIKE', $searchQuery); |
| 26 | 26 | } |
@@ -31,8 +31,8 @@ discard block |
||
| 31 | 31 | $filters = get_object_vars(json_decode($request->columnFilters)); |
| 32 | 32 | |
| 33 | 33 | foreach ($filters as $key => $value) { |
| 34 | - if (! empty($value)) { |
|
| 35 | - $query->orWhere($key, 'like', '%'.$value.'%'); |
|
| 34 | + if (!empty($value)) { |
|
| 35 | + $query->orWhere($key, 'like', '%' . $value . '%'); |
|
| 36 | 36 | } |
| 37 | 37 | } |
| 38 | 38 | } |
@@ -19,8 +19,8 @@ discard block |
||
| 19 | 19 | if ($request->has('searchTerm')) { |
| 20 | 20 | $columnsToSearch = ['name', 'description', 'is_active']; |
| 21 | 21 | $search_term = json_decode($request->searchTerm)->searchTerm; |
| 22 | - if (! empty($search_term)) { |
|
| 23 | - $searchQuery = '%'.$search_term.'%'; |
|
| 22 | + if (!empty($search_term)) { |
|
| 23 | + $searchQuery = '%' . $search_term . '%'; |
|
| 24 | 24 | foreach ($columnsToSearch as $column) { |
| 25 | 25 | $query->orWhere($column, 'LIKE', $searchQuery); |
| 26 | 26 | } |
@@ -31,8 +31,8 @@ discard block |
||
| 31 | 31 | $filters = get_object_vars(json_decode($request->columnFilters)); |
| 32 | 32 | |
| 33 | 33 | foreach ($filters as $key => $value) { |
| 34 | - if (! empty($value)) { |
|
| 35 | - $query->orWhere($key, 'like', '%'.$value.'%'); |
|
| 34 | + if (!empty($value)) { |
|
| 35 | + $query->orWhere($key, 'like', '%' . $value . '%'); |
|
| 36 | 36 | } |
| 37 | 37 | } |
| 38 | 38 | } |