|
|
@@ -164,7 +164,7 @@ class BookingAgendaHelper
|
|
|
AND ac.datep BETWEEN '{$eventdayDates['from']}' AND '{$eventdayDates['to']}'
|
|
|
AND ace.participants IS NOT NULL
|
|
|
ORDER BY ac.id DESC";
|
|
|
- //print $daysql;
|
|
|
+ //print $daysql;
|
|
|
$eventsArray = $this->getOneColumnFromTable($daysql, $eventsArray, 'actioncomm_id');
|
|
|
$locationArray = $this->getlocations();
|
|
|
print '<table style="width:100%">';
|
|
|
@@ -242,12 +242,25 @@ class BookingAgendaHelper
|
|
|
INNER JOIN llx_eventwizard_eventproduct as ep ON ep.fk_eventdetails = ed.rowid
|
|
|
INNER JOIN llx_product as pr ON pr.rowid = ep.fk_product
|
|
|
WHERE ac.id = {$eventdetail} ORDER BY fk_facture DESC";
|
|
|
+ //print $sql;
|
|
|
+ //exit;
|
|
|
$result = $db->query($sql);
|
|
|
if ($db->num_rows($result) > 0) {
|
|
|
+ print '<table><thead><tr class="firstcolumn">
|
|
|
+ <th>Facture</th>
|
|
|
+ <th>Location</th>
|
|
|
+ <th>Time Range</th>
|
|
|
+ </tr></thead><tbody>';
|
|
|
+ $rowcolorCounter = 0;
|
|
|
while ($row = $db->fetch_object($result)) {
|
|
|
- print '<div>' . $row->invoice_number . ' ' . $row->label . ' ' . $row->datep . '-' . $row->datep2 . '</div>';
|
|
|
-
|
|
|
+ print '<tr class="center" style="height:60px; background-color: ' . $this->getBGColor($rowcolorCounter) . ';">
|
|
|
+ <td class="" style="padding:20px;">' . $row->invoice_number . '</td>
|
|
|
+ <td style="padding:20px;">' . $row->label . '</td>
|
|
|
+ <td style="padding:20px;">' . $row->datep . ' - ' . $row->datep2 . '</td>
|
|
|
+ </tr>';
|
|
|
+ $rowcolorCounter++;
|
|
|
}
|
|
|
+ print '</tbody></table>';
|
|
|
}
|
|
|
}
|
|
|
}
|