Merge pull request #9949 from frederic34/patch-15

typo
This commit is contained in:
Laurent Destailleur 2018-11-05 09:16:55 +01:00 committed by GitHub
commit 63454c4e88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -184,15 +184,14 @@ if ($result) {
$dataseries[] = array('label' => $langs->trans("Assigned"), 'data' => round($tick['assigned']));
$dataseries[] = array('label' => $langs->trans("InProgress"), 'data' => round($tick['inprogress']));
$dataseries[] = array('label' => $langs->trans("Waiting"), 'data' => round($tick['waiting']));
$dataseries[] = array('label' => $langs->trans("Closed"), 'data' => round($tick['Closed']));
$dataseries[] = array('label' => $langs->trans("Deleted"), 'data' => round($tick['Deleted']));
$dataseries[] = array('label' => $langs->trans("Closed"), 'data' => round($tick['closed']));
$dataseries[] = array('label' => $langs->trans("Deleted"), 'data' => round($tick['deleted']));
}
} else {
dol_print_error($db);
}
$stringtoshow = '';
$stringtoshow .= '<script type="text/javascript" language="javascript">
$stringtoshow = '<script type="text/javascript" language="javascript">
jQuery(document).ready(function() {
jQuery("#idsubimgDOLUSERCOOKIE_ticket_by_status").click(function() {
jQuery("#idfilterDOLUSERCOOKIE_ticket_by_status").toggle();
@ -246,10 +245,9 @@ if (! empty($dataseries) && count($dataseries) > 1) {
$px1->draw($filenamenb, $fileurlnb);
print $px1->show();
print $stringtoshow;
}
}
print $stringtoshow;
print '</td></tr>';
print '</table>';