Passed
Push — master ( ce6199...f8d49f )
by Saepul
02:14
created
home.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,1 +1,1 @@
 block discarded – undo
1
-<?php 
require 'core/init.php';
$general->logged_out_protect();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Helpdesk System</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
</head>
<frameset name="mainfs" rows="85,*" frameborder="0" border="0" framespacing="0">
	<frame src="header.php" name="topFrame" scrolling="NO" noresize />
	<frameset name="contentfs" cols="200,*" frameborder="0" border="0" framespacing="0">
		<frame src="navigator.php" name="leftFrame" scrolling="NO" noresize />
		<frame src="content.php" name="contentFrame" />
	</frameset>
</frameset><noframes></noframes>
<body>
</body>
</html>
2 1
\ No newline at end of file
2
+<?php 
require 'core/init.php'; $general->logged_out_protect(); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Helpdesk System</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
</head>
<frameset name="mainfs" rows="85,*" frameborder="0" border="0" framespacing="0">
	<frame src="header.php" name="topFrame" scrolling="NO" noresize />
	<frameset name="contentfs" cols="200,*" frameborder="0" border="0" framespacing="0">
		<frame src="navigator.php" name="leftFrame" scrolling="NO" noresize />
		<frame src="content.php" name="contentFrame" />
	</frameset>
</frameset><noframes></noframes>
<body>
</body>
</html>
3 3
\ No newline at end of file
Please login to merge, or discard this patch.
getcustomer.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -12,21 +12,21 @@
 block discarded – undo
12 12
 $contractstartdate = date('d-M-Y', $project['contractstartdate']);
13 13
 $contractenddate = date('d-M-Y', strtotime($contractstartdate.' + '.$contractperiod.' months'));
14 14
 if ($warrantyperiod == '') {
15
-    $warrantyperiod = 0;
16
-    $warrantystartdate = 0;
17
-    $warrantyenddate = 0;
15
+	$warrantyperiod = 0;
16
+	$warrantystartdate = 0;
17
+	$warrantyenddate = 0;
18 18
 }
19 19
 if ($contractperiod == '') {
20
-    $contractperiod = 0;
21
-    $contractstartdate = 0;
22
-    $contractenddate = 0;
20
+	$contractperiod = 0;
21
+	$contractstartdate = 0;
22
+	$contractenddate = 0;
23 23
 }
24 24
 $data_customer = ['customerproduct'=> $customer['customerproduct'],
25
-    'warrantyperiod'               => $warrantyperiod,
26
-    'warrantystartdate'            => $warrantystartdate,
27
-    'warrantyenddate'              => $warrantyenddate,
28
-    'contractperiod'               => $contractperiod,
29
-    'contractstartdate'            => $contractstartdate,
30
-    'contractenddate'              => $contractenddate,
25
+	'warrantyperiod'               => $warrantyperiod,
26
+	'warrantystartdate'            => $warrantystartdate,
27
+	'warrantyenddate'              => $warrantyenddate,
28
+	'contractperiod'               => $contractperiod,
29
+	'contractstartdate'            => $contractstartdate,
30
+	'contractenddate'              => $contractenddate,
31 31
 ];
32 32
 echo json_encode($data_customer);
Please login to merge, or discard this patch.
slaedit.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -3,17 +3,17 @@  discard block
 block discarded – undo
3 3
 $general->logged_out_protect();
4 4
 $user = $users->userdata($_SESSION['loginid']);
5 5
 if ($user['level'] != 'Admin') {
6
-    exit("You don't have permission to access this page!");
6
+	exit("You don't have permission to access this page!");
7 7
 }
8 8
 $slaid = $_GET['id'];
9 9
 $sla = $slas->sla_data($slaid);
10 10
 if (isset($_POST['submit'])) {
11
-    $namasla = $_POST['namasla'];
12
-    $responsetime = $_POST['responsetime'];
13
-    $resolutiontime = $_POST['resolutiontime'];
14
-    $slawarning = $_POST['slawarning'];
15
-    $slas->update_sla($slaid, $namasla, $responsetime, $resolutiontime, $slawarning);
16
-    header('location:slalist.php');
11
+	$namasla = $_POST['namasla'];
12
+	$responsetime = $_POST['responsetime'];
13
+	$resolutiontime = $_POST['resolutiontime'];
14
+	$slawarning = $_POST['slawarning'];
15
+	$slas->update_sla($slaid, $namasla, $responsetime, $resolutiontime, $slawarning);
16
+	header('location:slalist.php');
17 17
 }
18 18
 ?>
19 19
 <!DOCTYPE HTML>
@@ -92,9 +92,9 @@  discard block
 block discarded – undo
92 92
 	</fieldset>
93 93
 	</form>
94 94
 	<?php 
95
-    if (empty($errors) === false) {
96
-        echo '<p class=errormsg>'.implode('</p><p class=errormsg>', $errors).'</p>';
97
-    }
98
-    ?>
95
+	if (empty($errors) === false) {
96
+		echo '<p class=errormsg>'.implode('</p><p class=errormsg>', $errors).'</p>';
97
+	}
98
+	?>
99 99
 </body>
100 100
 </html>
101 101
\ No newline at end of file
Please login to merge, or discard this patch.
userlist.php 2 patches
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 $general->logged_out_protect();
4 4
 $user = $users->userdata($_SESSION['loginid']);
5 5
 if ($user['level'] != 'Admin') {
6
-    exit("You don't have permission to access this page!");
6
+	exit("You don't have permission to access this page!");
7 7
 }
8 8
 $members = $users->get_users();
9 9
 $member_count = count($members);
@@ -61,22 +61,22 @@  discard block
 block discarded – undo
61 61
     </thead>
62 62
     <tbody>
63 63
 		<?php 
64
-        foreach ($members as $member) {
65
-            if ($member['confirmed'] == '1') {
66
-                $locked = 'No';
67
-            } else {
68
-                $locked = 'Yes';
69
-            }
70
-            echo '<tr><td><a href=useredit.php?id='.$member['id'].'>'.$member['username'].'</a></td>'.
71
-                 '<td>'.$member['level'].'</td>'.
72
-                 '<td>'.$member['fullname'].'</td>'.
73
-                 '<td>'.$member['email'].'</td>'.
74
-                 '<td>'.$member['Telp'].'</td>'.
75
-                 '<td>'.date('d-M-Y H:i', $member['time']).'</td>'.
76
-                 '<td>'.$locked.'</td>'.
77
-                 '<td><a href=userdel.php?id='.$member['id'].' onclick="return delete_confirm();">del</a></td></tr>';
78
-        }
79
-        ?>
64
+		foreach ($members as $member) {
65
+			if ($member['confirmed'] == '1') {
66
+				$locked = 'No';
67
+			} else {
68
+				$locked = 'Yes';
69
+			}
70
+			echo '<tr><td><a href=useredit.php?id='.$member['id'].'>'.$member['username'].'</a></td>'.
71
+				 '<td>'.$member['level'].'</td>'.
72
+				 '<td>'.$member['fullname'].'</td>'.
73
+				 '<td>'.$member['email'].'</td>'.
74
+				 '<td>'.$member['Telp'].'</td>'.
75
+				 '<td>'.date('d-M-Y H:i', $member['time']).'</td>'.
76
+				 '<td>'.$locked.'</td>'.
77
+				 '<td><a href=userdel.php?id='.$member['id'].' onclick="return delete_confirm();">del</a></td></tr>';
78
+		}
79
+		?>
80 80
     </tbody>
81 81
 	</table>
82 82
 	<p>&nbsp;</p>
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
         foreach ($members as $member) {
65 65
             if ($member['confirmed'] == '1') {
66 66
                 $locked = 'No';
67
-            } else {
67
+            }else {
68 68
                 $locked = 'Yes';
69 69
             }
70 70
             echo '<tr><td><a href=useredit.php?id='.$member['id'].'>'.$member['username'].'</a></td>'.
Please login to merge, or discard this patch.
myticketbyresolver.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -51,20 +51,20 @@
 block discarded – undo
51 51
     </thead>
52 52
     <tbody>
53 53
 		<?php 
54
-        foreach ($tickets as $ticket) {
55
-            $sla = $slas->sla_data($ticket['sla']);
56
-            $customer = $customers->customer_data($ticket['idcustomer']);
57
-            $user = $users->userdata($ticket['assignee']);
58
-            echo '<tr><td><a href=ticketedit.php?id='.$ticket['id'].'>'.$ticket['ticketnumber'].'</a></td>'.
59
-                 '<td>'.$sla['namasla'].'</td>'.
60
-                 '<td>'.$customer['namacustomer'].'</td>'.
61
-                 '<td>'.date('d-M-Y', $ticket['reporteddate']).'</td>'.
62
-                 '<td>'.$ticket['reportedby'].'</td>'.
63
-                 '<td>'.$ticket['problemsummary'].'</td>'.
64
-                 '<td>'.$ticket['ticketstatus'].'</td>'.
65
-                 '<td>'.$user['fullname'].'</td></tr>';
66
-        }
67
-        ?>
54
+		foreach ($tickets as $ticket) {
55
+			$sla = $slas->sla_data($ticket['sla']);
56
+			$customer = $customers->customer_data($ticket['idcustomer']);
57
+			$user = $users->userdata($ticket['assignee']);
58
+			echo '<tr><td><a href=ticketedit.php?id='.$ticket['id'].'>'.$ticket['ticketnumber'].'</a></td>'.
59
+				 '<td>'.$sla['namasla'].'</td>'.
60
+				 '<td>'.$customer['namacustomer'].'</td>'.
61
+				 '<td>'.date('d-M-Y', $ticket['reporteddate']).'</td>'.
62
+				 '<td>'.$ticket['reportedby'].'</td>'.
63
+				 '<td>'.$ticket['problemsummary'].'</td>'.
64
+				 '<td>'.$ticket['ticketstatus'].'</td>'.
65
+				 '<td>'.$user['fullname'].'</td></tr>';
66
+		}
67
+		?>
68 68
     </tbody>
69 69
 	</table>
70 70
 	<p>&nbsp;</p>
Please login to merge, or discard this patch.
ticketlistuser.php 2 patches
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -4,12 +4,12 @@  discard block
 block discarded – undo
4 4
 $general->logged_out_protect();
5 5
 $user = $users->userdata($_SESSION['loginid']);
6 6
 if ($user['level'] == 'Admin' || $user['level'] == 'Manager') {
7
-    $akses = true;
7
+	$akses = true;
8 8
 } else {
9
-    $akses = false;
9
+	$akses = false;
10 10
 }
11 11
 if ($akses = false) {
12
-    exit("You don't have permission to access this page!");
12
+	exit("You don't have permission to access this page!");
13 13
 }
14 14
 $tickets = $tickets->get_opened_tickets();
15 15
 $tickets_count = count($tickets);
@@ -64,36 +64,36 @@  discard block
 block discarded – undo
64 64
     </thead>
65 65
     <tbody>
66 66
 		<?php 
67
-        $currenttime = time();
68
-        foreach ($tickets as $ticket) {
69
-            $sla = $slas->sla_data($ticket['sla']);
70
-            $documenteddate = $ticket['documenteddate'];
71
-            $resolutiontime = $sla['resolutiontime'];
72
-            $slawarning = $sla['slawarning'];
73
-            $slagoaltime = strtotime("+$resolutiontime hours", $documenteddate);
74
-            $slawarningtime = strtotime("+$slawarning hours", $documenteddate);
75
-            if ($currenttime > $slagoaltime) {
76
-                $slabgcolor = '#FF0000';
77
-                $slatxtcolor = '#ffffff';
78
-            } elseif ($currenttime >= $slawarningtime) {
79
-                $slabgcolor = '#FFFF00';
80
-                $slatxtcolor = '#000000';
81
-            } else {
82
-                $slabgcolor = '#00FF00';
83
-                $slatxtcolor = '#000000';
84
-            }
85
-            $customer = $customers->customer_data($ticket['idcustomer']);
86
-            $user = $users->userdata($ticket['assignee']);
87
-            echo '<tr><td><a href=ticketedituser.php?id='.$ticket['id'].'>'.$ticket['ticketnumber'].'</a></td>'.
88
-                 '<td style="background-color:'.$slabgcolor.';color:'.$slatxtcolor.';">'.$sla['namasla'].'</td>'.
89
-                 '<td>'.$customer['namacustomer'].'</td>'.
90
-                 '<td>'.date('d-M-Y H:i', $ticket['reporteddate']).'</td>'.
91
-                 '<td>'.$ticket['reportedby'].'</td>'.
92
-                 '<td>'.$ticket['problemsummary'].'</td>'.
93
-                 '<td>'.$ticket['ticketstatus'].'</td>'.
94
-                 '<td>'.$user['fullname'].'</td></tr>';
95
-        }
96
-        ?>
67
+		$currenttime = time();
68
+		foreach ($tickets as $ticket) {
69
+			$sla = $slas->sla_data($ticket['sla']);
70
+			$documenteddate = $ticket['documenteddate'];
71
+			$resolutiontime = $sla['resolutiontime'];
72
+			$slawarning = $sla['slawarning'];
73
+			$slagoaltime = strtotime("+$resolutiontime hours", $documenteddate);
74
+			$slawarningtime = strtotime("+$slawarning hours", $documenteddate);
75
+			if ($currenttime > $slagoaltime) {
76
+				$slabgcolor = '#FF0000';
77
+				$slatxtcolor = '#ffffff';
78
+			} elseif ($currenttime >= $slawarningtime) {
79
+				$slabgcolor = '#FFFF00';
80
+				$slatxtcolor = '#000000';
81
+			} else {
82
+				$slabgcolor = '#00FF00';
83
+				$slatxtcolor = '#000000';
84
+			}
85
+			$customer = $customers->customer_data($ticket['idcustomer']);
86
+			$user = $users->userdata($ticket['assignee']);
87
+			echo '<tr><td><a href=ticketedituser.php?id='.$ticket['id'].'>'.$ticket['ticketnumber'].'</a></td>'.
88
+				 '<td style="background-color:'.$slabgcolor.';color:'.$slatxtcolor.';">'.$sla['namasla'].'</td>'.
89
+				 '<td>'.$customer['namacustomer'].'</td>'.
90
+				 '<td>'.date('d-M-Y H:i', $ticket['reporteddate']).'</td>'.
91
+				 '<td>'.$ticket['reportedby'].'</td>'.
92
+				 '<td>'.$ticket['problemsummary'].'</td>'.
93
+				 '<td>'.$ticket['ticketstatus'].'</td>'.
94
+				 '<td>'.$user['fullname'].'</td></tr>';
95
+		}
96
+		?>
97 97
     </tbody>
98 98
 	</table>
99 99
 </body>
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
 $user = $users->userdata($_SESSION['loginid']);
6 6
 if ($user['level'] == 'Admin' || $user['level'] == 'Manager') {
7 7
     $akses = true;
8
-} else {
8
+}else {
9 9
     $akses = false;
10 10
 }
11 11
 if ($akses = false) {
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
             } elseif ($currenttime >= $slawarningtime) {
79 79
                 $slabgcolor = '#FFFF00';
80 80
                 $slatxtcolor = '#000000';
81
-            } else {
81
+            }else {
82 82
                 $slabgcolor = '#00FF00';
83 83
                 $slatxtcolor = '#000000';
84 84
             }
Please login to merge, or discard this patch.
changepwd.php 2 patches
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -4,16 +4,16 @@  discard block
 block discarded – undo
4 4
 $user = $users->userdata($_SESSION['loginid']);
5 5
 $userid = $user['id'];
6 6
 if (isset($_POST['submit'])) {
7
-    $oldpassword = sha1($_POST['oldpassword']);
8
-    $userpassword = $user['password'];
9
-    if ($oldpassword != $userpassword) {
10
-        $errors[] = 'The old password does not match!';
11
-    } else {
12
-        $newpassword1 = $_POST['newpassword1'];
13
-        $users->changepwd($userid, $newpassword1);
14
-        $users->log_users($_SESSION['loginid'], 'Change the old password');
15
-        header('Location: changepwd.php?success');
16
-    }
7
+	$oldpassword = sha1($_POST['oldpassword']);
8
+	$userpassword = $user['password'];
9
+	if ($oldpassword != $userpassword) {
10
+		$errors[] = 'The old password does not match!';
11
+	} else {
12
+		$newpassword1 = $_POST['newpassword1'];
13
+		$users->changepwd($userid, $newpassword1);
14
+		$users->log_users($_SESSION['loginid'], 'Change the old password');
15
+		header('Location: changepwd.php?success');
16
+	}
17 17
 }
18 18
 ?>
19 19
 <!DOCTYPE HTML>
@@ -73,12 +73,12 @@  discard block
 block discarded – undo
73 73
 	</form>
74 74
 	<br/>
75 75
 	<?php
76
-    if (empty($errors) === false) {
77
-        echo '<p class=errormsg>'.implode('</p><p class=errormsg>', $errors).'</p>';
78
-    }
79
-    if (isset($_GET['success']) && empty($_GET['success'])) {
80
-        echo 'Your password has been changed. Please logout and relogin with the new password.';
81
-    }
82
-    ?>
76
+	if (empty($errors) === false) {
77
+		echo '<p class=errormsg>'.implode('</p><p class=errormsg>', $errors).'</p>';
78
+	}
79
+	if (isset($_GET['success']) && empty($_GET['success'])) {
80
+		echo 'Your password has been changed. Please logout and relogin with the new password.';
81
+	}
82
+	?>
83 83
 </body>
84 84
 </html>
85 85
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     $userpassword = $user['password'];
9 9
     if ($oldpassword != $userpassword) {
10 10
         $errors[] = 'The old password does not match!';
11
-    } else {
11
+    }else {
12 12
         $newpassword1 = $_POST['newpassword1'];
13 13
         $users->changepwd($userid, $newpassword1);
14 14
         $users->log_users($_SESSION['loginid'], 'Change the old password');
Please login to merge, or discard this patch.
login.php 2 patches
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -3,26 +3,26 @@  discard block
 block discarded – undo
3 3
 require 'core/init.php';
4 4
 $general->logged_in_protect();
5 5
 if (empty($_POST) === false) {
6
-    $username = strip_tags(addslashes(trim($_POST['username'])));
7
-    $password = strip_tags(addslashes(trim($_POST['password'])));
8
-    if (empty($username) === true || empty($password) === true) {
9
-        $errors[] = 'Sorry, but we need your username and password.';
10
-    } elseif ($users->user_exists($username) === false) {
11
-        $errors[] = 'Sorry, that username doesn\'t exists. Please try again.';
12
-    } else {
13
-        $login = $users->login($username, $password);
14
-        if ($login === false) {
15
-            $errors[] = 'Sorry, that username/password is invalid. Please try again.';
16
-        } elseif (!$users->email_confirmed($username)) {
17
-            $errors[] = 'Sorry, your account is locked. Please contact Administrator.';
18
-        } else {
19
-            $_SESSION['loginid'] = $login;
20
-            $users->log_users($login, 'Login to Helpdesk System');
21
-            echo $login;
22
-            header('location: home.php');
23
-            exit();
24
-        }
25
-    }
6
+	$username = strip_tags(addslashes(trim($_POST['username'])));
7
+	$password = strip_tags(addslashes(trim($_POST['password'])));
8
+	if (empty($username) === true || empty($password) === true) {
9
+		$errors[] = 'Sorry, but we need your username and password.';
10
+	} elseif ($users->user_exists($username) === false) {
11
+		$errors[] = 'Sorry, that username doesn\'t exists. Please try again.';
12
+	} else {
13
+		$login = $users->login($username, $password);
14
+		if ($login === false) {
15
+			$errors[] = 'Sorry, that username/password is invalid. Please try again.';
16
+		} elseif (!$users->email_confirmed($username)) {
17
+			$errors[] = 'Sorry, your account is locked. Please contact Administrator.';
18
+		} else {
19
+			$_SESSION['loginid'] = $login;
20
+			$users->log_users($login, 'Login to Helpdesk System');
21
+			echo $login;
22
+			header('location: home.php');
23
+			exit();
24
+		}
25
+	}
26 26
 }
27 27
 ?>
28 28
 <!DOCTYPE html>
@@ -56,9 +56,9 @@  discard block
 block discarded – undo
56 56
 	</table>
57 57
 </div>
58 58
 <?php 
59
-    if (empty($errors) === false) {
60
-        echo '<p class="errormsg">'.implode('</p><p class="errormsg">', $errors).'</p>';
61
-    }
59
+	if (empty($errors) === false) {
60
+		echo '<p class="errormsg">'.implode('</p><p class="errormsg">', $errors).'</p>';
61
+	}
62 62
 ?>
63 63
 <div class="footer">
64 64
 </div>
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,13 +9,13 @@
 block discarded – undo
9 9
         $errors[] = 'Sorry, but we need your username and password.';
10 10
     } elseif ($users->user_exists($username) === false) {
11 11
         $errors[] = 'Sorry, that username doesn\'t exists. Please try again.';
12
-    } else {
12
+    }else {
13 13
         $login = $users->login($username, $password);
14 14
         if ($login === false) {
15 15
             $errors[] = 'Sorry, that username/password is invalid. Please try again.';
16 16
         } elseif (!$users->email_confirmed($username)) {
17 17
             $errors[] = 'Sorry, your account is locked. Please contact Administrator.';
18
-        } else {
18
+        }else {
19 19
             $_SESSION['loginid'] = $login;
20 20
             $users->log_users($login, 'Login to Helpdesk System');
21 21
             echo $login;
Please login to merge, or discard this patch.
pivot/json.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -8,11 +8,11 @@
 block discarded – undo
8 8
 $tickets = $tickets->get_tickets();
9 9
 $json = '[';
10 10
 foreach ($tickets as $ticket) {
11
-    $customer = $customers->customer_data($ticket['idcustomer']);
12
-    $userassignee = $users->userdata($ticket['assignee']);
13
-    $json .= '{"Product": "'.$customer['customerproduct'].'",'.
14
-    '"Company": "'.$customer['namacustomer'].'",'.
15
-    '"Assignee": "'.$userassignee['fullname'].'",'.
16
-    '"Status": "'.$ticket['ticketstatus'].'"},';
11
+	$customer = $customers->customer_data($ticket['idcustomer']);
12
+	$userassignee = $users->userdata($ticket['assignee']);
13
+	$json .= '{"Product": "'.$customer['customerproduct'].'",'.
14
+	'"Company": "'.$customer['namacustomer'].'",'.
15
+	'"Assignee": "'.$userassignee['fullname'].'",'.
16
+	'"Status": "'.$ticket['ticketstatus'].'"},';
17 17
 }
18 18
 echo substr($json, 0, -1).']';
Please login to merge, or discard this patch.