Completed
Push — master ( bcb82e...80085e )
by vijay
07:39
created
app/Http/ViewComposers/AgentLayout.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
             $table = $table->where('tickets.dept_id', '=', $id)->orWhere('assigned_to', '=', Auth::user()->id);
150 150
         }
151 151
 
152
-        return $table->Join('ticket_status', function ($join) {
152
+        return $table->Join('ticket_status', function($join) {
153 153
             $join->on('ticket_status.id', '=', 'tickets.status')
154 154
                         ->whereIn('ticket_status.id', [1, 7]);
155 155
         });
Please login to merge, or discard this patch.
resources/views/themes/default1/update/update.blade.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
                 $controller = new \App\Http\Controllers\Update\UpgradeController();
30 30
                 if ($latest_version > $current_version) {
31 31
 
32
-                    echo '<p>New Update Found: v' . $latest_version . '</p>';
32
+                    echo '<p>New Update Found: v'.$latest_version.'</p>';
33 33
                     $found = true;
34 34
                     if (!is_file("$controller->dir/UPDATES/faveo-helpdesk-master.zip")) {
35 35
                         if (key_exists("dodownload", $_GET) && $_GET["dodownload"] == true) {
@@ -41,11 +41,11 @@  discard block
 block discarded – undo
41 41
                                 //exit();
42 42
                             }
43 43
                         } else {
44
-                            echo '<p>Latest code found. <a href=' . url('file-upgrade?dodownload=true') . '>&raquo; Download Now?</a></p>';
44
+                            echo '<p>Latest code found. <a href='.url('file-upgrade?dodownload=true').'>&raquo; Download Now?</a></p>';
45 45
                             //exit();
46 46
                         }
47 47
                     } else {
48
-                        echo '<p>Update ready. <a href=' . url('file-upgrade?doUpdate=true') . '>&raquo; Install Now?</a></p>';
48
+                        echo '<p>Update ready. <a href='.url('file-upgrade?doUpdate=true').'>&raquo; Install Now?</a></p>';
49 49
                         //echo '<p>Update already downloaded.</p>';
50 50
                     }
51 51
                     if ($request->get('doUpdate') == true) {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
                             </div>
77 77
                             <?php
78 78
                         }
79
-                    } else{
79
+                    } else {
80 80
                         echo '<p>Could not find latest realeases.</p>';
81 81
                     }
82 82
                     
Please login to merge, or discard this patch.
resources/views/themes/default1/admin/kb/article/layout.blade.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     <div class="wrapper" id="RefreshAssign">
36 36
 
37 37
       <header class="main-header">
38
-            <?php $settings = App\Model\Settings::where('id', '=', '1')->first();?>
38
+            <?php $settings = App\Model\Settings::where('id', '=', '1')->first(); ?>
39 39
             <img src="{{asset('Img/icon/faveokb.jpg')}}" class="logo" alt="Knowledge Base"/>
40 40
                 {{-- <a href="../../index2.html" class="logo"><b>Faveo</b> Knowledge</a> --}}
41 41
                 <!-- Header Navbar: style can be found in header.less -->
Please login to merge, or discard this patch.
resources/views/themes/default1/admin/kb/article/create.blade.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,10 +138,10 @@
 block discarded – undo
138 138
 					<div class="row">
139 139
 						<div class="form-group">
140 140
 							<div class="col-md-1">
141
-								<input type="checkbox" name="category_id[]" value="<?php echo $val;?>">
141
+								<input type="checkbox" name="category_id[]" value="<?php echo $val; ?>">
142 142
 							</div>
143 143
 							<div class="col-md-10">
144
-								<?php echo $key;?>
144
+								<?php echo $key; ?>
145 145
 							</div>
146 146
 						</div>
147 147
 					</div>
Please login to merge, or discard this patch.
resources/views/themes/default1/admin/kb/article/edit.blade.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -134,12 +134,12 @@
 block discarded – undo
134 134
 			<div class="row">
135 135
 						<div class="form-group">
136 136
 							<div class="col-md-1">
137
-			<input type="checkbox" name="category_id[]" value="<?php echo $val;?>" <?php if (in_array($val, $assign)) {
137
+			<input type="checkbox" name="category_id[]" value="<?php echo $val; ?>" <?php if (in_array($val, $assign)) {
138 138
 	echo ('checked');
139 139
 }
140 140
 ?> ></div>
141 141
 							<div class="col-md-10">
142
-								<?php echo $key;?>
142
+								<?php echo $key; ?>
143 143
 							</div>
144 144
 						</div>
145 145
 					</div>
Please login to merge, or discard this patch.
resources/views/themes/default1/admin/helpdesk/settings/system.blade.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -182,10 +182,10 @@
 block discarded – undo
182 182
                     <?php
183 183
                     $yes = false;
184 184
                     $no = false;
185
-                    if($common_setting->getStatus('itil')==1){
185
+                    if ($common_setting->getStatus('itil') == 1) {
186 186
                         $yes = true;
187
-                    }else{
188
-                        $no=true;
187
+                    } else {
188
+                        $no = true;
189 189
                     }
190 190
                     //dd($no);
191 191
                     ?>
Please login to merge, or discard this patch.
themes/default1/admin/helpdesk/emails/template/listdirectories.blade.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -97,16 +97,16 @@
 block discarded – undo
97 97
                 <?php //dd($directory); ?>
98 98
   <tr>  
99 99
     <!-- Template Name with Link to Edit page along Id -->
100
-    <td><a href="{{route('template.list',[$dir,$directory])}}"><?php $parts = explode('.',$dir); $names  = $parts[0]; $name = str_replace('_', ' ', $names);$name1 = ucfirst($name); echo $name1?></a></td>
100
+    <td><a href="{{route('template.list',[$dir,$directory])}}"><?php $parts = explode('.', $dir); $names = $parts[0]; $name = str_replace('_', ' ', $names); $name1 = ucfirst($name); echo $name1?></a></td>
101 101
     <!-- template Status : if status==1 active -->
102 102
     <!-- Deleting Fields -->
103
-                <?php $status = DB::table('settings_email')->first();  ?>
104
-                <td><input type="radio" disabled="disabled" value="Active"<?php echo ($status->template == $dir)?'checked':'' ?> /></td>
103
+                <?php $status = DB::table('settings_email')->first(); ?>
104
+                <td><input type="radio" disabled="disabled" value="Active"<?php echo ($status->template == $dir) ? 'checked' : '' ?> /></td>
105 105
                 <td>
106 106
                   {!! link_to_route('active.set','Activate This Set',[$dir],['class'=>'btn btn-success btn-xs']) !!} 
107 107
 
108 108
 <?php 
109
-if($dir == 'default')  {
109
+if ($dir == 'default') {
110 110
   $dis = "disabled";  
111 111
 } else {
112 112
   $dis = "";
Please login to merge, or discard this patch.
themes/default1/admin/helpdesk/emails/template/listtemplates.blade.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
                 <?php if ($template === '.' or $template === '..') continue; ?>
69 69
 	<tr>
70 70
 		<!-- Template Name with Link to Edit page along Id -->
71
-		<td><a href="{{route('template.read',[$template,$directory])}}"><?php $parts = explode('.',$template); $names  = $parts[0]; $name = str_replace('-', ' ', $names); $cname = ucfirst($name); echo $cname?></a></td>
71
+		<td><a href="{{route('template.read',[$template,$directory])}}"><?php $parts = explode('.', $template); $names = $parts[0]; $name = str_replace('-', ' ', $names); $cname = ucfirst($name); echo $cname?></a></td>
72 72
         <td>{{ Lang::get('lang.'.$cname) }}</td>
73 73
 		<!-- template Status : if status==1 active -->
74 74
 		<!-- Deleting Fields -->
Please login to merge, or discard this patch.
views/themes/default1/admin/helpdesk/emails/template/formDiagno.blade.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
                             if ($email->email_address == $email->email_name) {
81 81
                                 $email1 = $email->email_address;
82 82
                             } else {
83
-                                $email1 = $email->email_name . ' ( ' . $email->email_address . ' ) ';
83
+                                $email1 = $email->email_name.' ( '.$email->email_address.' ) ';
84 84
                             }
85 85
                             ?>
86 86
                             <option value="{!! $email->id !!}"> {{ $email1 }} </option>
Please login to merge, or discard this patch.