update v1.0.5.1
This commit is contained in:
@@ -6,7 +6,7 @@ $day1 = Date($format,strtotime('-1 day'. $date));
|
||||
|
||||
$user = App\User::where('id','=',$user_id)->first();
|
||||
|
||||
$dept = App\Model\helpdesk\Agent\Department::where('name','=',$user->primary_dpt)->first();
|
||||
$dept = App\Model\helpdesk\Agent\Department::where('id','=',$user->primary_dpt)->first();
|
||||
|
||||
$created = DB::table('tickets')->select('created_at')->where('dept_id','=',$dept->id)->where('created_at','LIKE','%'.$day1.'%')->count();
|
||||
$closed = DB::table('tickets')->where('dept_id','=',$dept->id)->where('closed_at','LIKE','%'.$day1.'%')->count();
|
||||
@@ -125,7 +125,7 @@ $dept = App\Model\helpdesk\Agent\Department::where('name','=',$user->primary_dpt
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><img src="images/footer_shadow.png" width="600" height="25" /></td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
@@ -580,7 +580,7 @@ foreach ($depts as $dept) {
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><img src="images/footer_shadow.png" width="600" height="25" /></td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
@@ -123,7 +123,7 @@ $i = 0;
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><img src="images/footer_shadow.png" width="600" height="25" /></td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
@@ -176,7 +176,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><img src="images/footer_shadow.png" width="600" height="25" /></td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
Reference in New Issue
Block a user