| Server IP : 104.21.84.107 / Your IP : 104.23.197.209 Web Server : Apache/2.4.63 (Ubuntu) System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.4.5 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/icaoc/components/com_dpcalendar/tmpl/booking/ |
Upload File : |
<?php
/**
* @package DPCalendar
* @copyright Copyright (C) 2022 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 DigitalPeak\Component\DPCalendar\Administrator\HTML\Block\Icon;
$reviewStep = $this->params->get('booking_review_step', 2);
$counter = 1;
?>
<div class="com-dpcalendar-booking__step dp-steps">
<span class="dp-step dp-step-choose">
<span class="dp-step__number"><?php echo $counter++; ?></span>
</span>
<?php if ($reviewStep == 1 || ($reviewStep == 2 && (is_countable($this->booking->tickets) ? count($this->booking->tickets) : 0) > 1)) { ?>
<span class="dp-steps__separator"><?php echo $this->layoutHelper->renderLayout('block.icon', ['icon' => Icon::NEXT]); ?></span>
<span class="dp-step dp-step-configure <?php echo $this->getLayout() === 'review' ? 'dp-step_active' : ''; ?>">
<span class="dp-step__number"><?php echo $counter++; ?></span>
</span>
<?php } ?>
<?php if (!$this->booking->price && $this->params->get('booking_confirm_step', 1)) { ?>
<span class="dp-steps__separator"><?php echo $this->layoutHelper->renderLayout('block.icon', ['icon' => Icon::NEXT]); ?></span>
<span class="dp-step dp-step-confirm <?php echo $this->getLayout() === 'confirm' ? 'dp-step_active' : ''; ?>">
<span class="dp-step__number"><?php echo $counter++; ?></span>
</span>
<?php } elseif ($this->booking->price) { ?>
<span class="dp-steps__separator"><?php echo $this->layoutHelper->renderLayout('block.icon', ['icon' => Icon::NEXT]); ?></span>
<span class="dp-step dp-step-provider <?php echo $this->getLayout() === 'confirm' ? 'dp-step_active' : ''; ?>">
<span class="dp-step__number"><?php echo $counter++; ?></span>
</span>
<?php } ?>
<span class="dp-steps__separator"><?php echo $this->layoutHelper->renderLayout('block.icon', ['icon' => Icon::NEXT]); ?></span>
<span class="dp-step dp-step-pay <?php echo $this->getLayout() === 'order' || $this->getLayout() === 'pay' ? 'dp-step_active' : ''; ?>">
<span class="dp-step__number"><?php echo $counter++; ?></span>
</span>
</div>