@@ -50,7 +50,7 @@ |
||
50 | 50 | $manager->userid = $request->get('department_manager'); |
51 | 51 | $manager->save(); |
52 | 52 | |
53 | - \Session::flash('message', "New department has been saved"); |
|
53 | + \Session::flash('message', "New department has been saved"); |
|
54 | 54 | return redirect('staff/departments'); |
55 | 55 | } |
56 | 56 |
@@ -25,6 +25,6 @@ |
||
25 | 25 | protected function schedule(Schedule $schedule) |
26 | 26 | { |
27 | 27 | $schedule->command('inspire') |
28 | - ->hourly(); |
|
28 | + ->hourly(); |
|
29 | 29 | } |
30 | 30 | } |
@@ -37,7 +37,7 @@ |
||
37 | 37 | */ |
38 | 38 | public function map(Router $router) |
39 | 39 | { |
40 | - $router->group(['namespace' => $this->namespace], function ($router) { |
|
40 | + $router->group(['namespace' => $this->namespace], function($router) { |
|
41 | 41 | require app_path('Http/routes.php'); |
42 | 42 | }); |
43 | 43 | } |
@@ -69,7 +69,7 @@ |
||
69 | 69 | $mailbox = env('MAIL_USERNAME'); |
70 | 70 | |
71 | 71 | \Session::flash('message', "Information has been saved to the database"); |
72 | - \Mail::send('emails.new_sick', ['data' => $data], function ($m) use ($mailbox, $subject) { |
|
72 | + \Mail::send('emails.new_sick', ['data' => $data], function($m) use ($mailbox, $subject) { |
|
73 | 73 | $m->from($mailbox); |
74 | 74 | $m->to("[email protected]")->subject("$subject"); |
75 | 75 | }); |
@@ -72,8 +72,8 @@ |
||
72 | 72 | \Mail::send('emails.new_sick', ['data' => $data], function ($m) use ($mailbox, $subject) { |
73 | 73 | $m->from($mailbox); |
74 | 74 | /** Send confirmation mail to all managers in the department from the user. |
75 | - *$m->to("")->subject("$subject"); |
|
76 | - */ |
|
75 | + *$m->to("")->subject("$subject"); |
|
76 | + */ |
|
77 | 77 | }); |
78 | 78 | |
79 | 79 | return redirect('sick'); |
@@ -14,7 +14,7 @@ |
||
14 | 14 | */ |
15 | 15 | public function boot() |
16 | 16 | { |
17 | - Bouncer::seeder(function () { |
|
17 | + Bouncer::seeder(function() { |
|
18 | 18 | Bouncer::allow('Agent'); |
19 | 19 | |
20 | 20 | Bouncer::allow('Administrator') |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function index() |
20 | 20 | { |
21 | - $teams = Teams::orderBy('name', 'asc')->paginate(10);; |
|
21 | + $teams = Teams::orderBy('name', 'asc')->paginate(10); ; |
|
22 | 22 | return view('teams/list', ['teams' => $teams]); |
23 | 23 | } |
24 | 24 |
@@ -37,7 +37,7 @@ |
||
37 | 37 | */ |
38 | 38 | public function store(Request $request) |
39 | 39 | { |
40 | - // |
|
40 | + // |
|
41 | 41 | } |
42 | 42 | |
43 | 43 | /** |
@@ -72,7 +72,7 @@ |
||
72 | 72 | |
73 | 73 | $injectionData = ['user' => $user, 'password' => $mail_password]; |
74 | 74 | |
75 | - Mail::send('emails.new_user', $injectionData, function ($m) use ($user, $mailbox) { |
|
75 | + Mail::send('emails.new_user', $injectionData, function($m) use ($user, $mailbox) { |
|
76 | 76 | $m->from($mailbox); |
77 | 77 | $m->to($user->email)->subject('Your user credentials!'); |
78 | 78 | }); |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | 'Y.m.d' => '2010.12.23', |
28 | 28 | 'd.m.Y' => '23.12.2010', |
29 | 29 | 'm.d.Y' => '12.23.2010', |
30 | - ); |
|
30 | + ); |
|
31 | 31 | |
32 | 32 | $data['time_formats'] = array ( |
33 | 33 | 'H:i' => '23:00', |
@@ -35,14 +35,14 @@ discard block |
||
35 | 35 | 'h:iA' => '11:00PM', |
36 | 36 | 'h:i a' => '11:00 pm', |
37 | 37 | 'h:i A' => '11:00 PM', |
38 | - ); |
|
38 | + ); |
|
39 | 39 | |
40 | 40 | $data['title'] = config('timecontrol.title'); |
41 | 41 | $data['email'] = config('timecontrol.email'); |
42 | 42 | $data['date'] = config('timecontrol.date'); |
43 | 43 | $data['time'] = config('timecontrol.time'); |
44 | 44 | |
45 | - return view('settings/basic', $data); |
|
45 | + return view('settings/basic', $data); |
|
46 | 46 | } |
47 | 47 | |
48 | 48 | /** |
@@ -55,6 +55,6 @@ discard block |
||
55 | 55 | { |
56 | 56 | |
57 | 57 | |
58 | - } |
|
58 | + } |
|
59 | 59 | |
60 | 60 | } |
@@ -29,7 +29,7 @@ |
||
29 | 29 | 'm.d.Y' => '12.23.2010', |
30 | 30 | ); |
31 | 31 | |
32 | - $data['time_formats'] = array ( |
|
32 | + $data['time_formats'] = array( |
|
33 | 33 | 'H:i' => '23:00', |
34 | 34 | 'h:ia' => '11:00pm', |
35 | 35 | 'h:iA' => '11:00PM', |