mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 01:28:19 +01:00
Update ticket.php
This commit is contained in:
committed by
GitHub
parent
6275926f4b
commit
a15f317a4f
@@ -148,11 +148,8 @@ $title=$langs->trans("ListTicketsLinkToContract");
|
||||
foreach ($allticketarray as $key => $value) {
|
||||
$total_ht = 0;
|
||||
$total_ttc = 0;
|
||||
$num = count($allticketarray);
|
||||
|
||||
for ($i = 0; $i < $num; $i++) {
|
||||
$element = new Ticket($db);
|
||||
$element->fetch($value->rowid);
|
||||
$element = $value;
|
||||
|
||||
print "<tr>";
|
||||
|
||||
@@ -161,7 +158,7 @@ $title=$langs->trans("ListTicketsLinkToContract");
|
||||
print $element->getNomUrl(1);
|
||||
print "</td>\n";
|
||||
|
||||
// Informaitons
|
||||
// Information
|
||||
print '<td align="left">'.$value->subject.'</td>';
|
||||
print '<td align="left">'.$value->type_label.'</td>';
|
||||
print '<td align="left">'.$value->category_label.'</td>';
|
||||
@@ -171,21 +168,18 @@ $title=$langs->trans("ListTicketsLinkToContract");
|
||||
print '<td align="center">'.dol_print_date($element->datec, 'day').'</td>';
|
||||
print '<td align="center">'.dol_print_date($element->date_close, 'day').'</td>';
|
||||
|
||||
// Durée
|
||||
// Duration
|
||||
print '<td align="right">';
|
||||
print (isset($element->progress)?$element->progress:' '). '%';
|
||||
print (isset($element->progress) ? $element->progress.'%' : '');
|
||||
print '</td>';
|
||||
|
||||
// Status
|
||||
print '<td align="right">'.$element->getLibStatut(5).'</td>';
|
||||
print '</tr>';
|
||||
|
||||
}
|
||||
}
|
||||
print "</table>";
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
llxFooter();
|
||||
$db->close();
|
||||
|
||||
Reference in New Issue
Block a user