__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* @package DPCalendar
* @copyright Copyright (C) 2020 Digital Peak GmbH. <https://www.digital-peak.com>
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
*/
defined('_JEXEC') or die();
use Joomla\CMS\Language\Text;
if ($this->bookingId) {
return;
}
$bookings = [];
foreach ($this->events as $event) {
foreach ($event->tickets as $ticket) {
if (in_array($ticket->state, [0, 2, 3]) && $ticket->user_id && $ticket->user_id == $this->user->id) {
$booking = $this->getModel()->getItem($ticket->booking_id);
if (!$booking) {
continue;
}
$booking->event_title = $ticket->event_title;
$bookings[$booking->id] = $booking;
}
}
}
if ($bookings === []) {
return;
}
?>
<div class="com-dpcalendar-bookingform__existing-booking">
<?php foreach ($bookings as $booking) { ?>
<?php echo Text::Sprintf(
'COM_DPCALENDAR_VIEW_BOOKINGFORM_AVAILABLE_BOOKING',
$booking->event_title,
\DigitalPeak\Component\DPCalendar\Site\Helper\RouteHelper::getBookingRoute($booking)
); ?>
<?php } ?>
</div>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| default.php | File | 2.08 KB | 0664 |
|
| default_actions.php | File | 2 KB | 0664 |
|
| default_coupon.php | File | 1.14 KB | 0664 |
|
| default_events.php | File | 7.52 KB | 0664 |
|
| default_existing_booking.php | File | 1.02 KB | 0664 |
|
| default_fields.php | File | 877 B | 0664 |
|
| default_heading.php | File | 445 B | 0664 |
|
| default_info_text.php | File | 481 B | 0664 |
|
| default_series_info.php | File | 660 B | 0664 |
|
| default_steps.php | File | 1.69 KB | 0664 |
|
| default_total.php | File | 1.41 KB | 0664 |
|