__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ 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) 2018 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;
$this->translator->translateJS('COM_DPCALENDAR_VIEW_BOOKINGFORM_CONFIRM_BUTTON');
$this->translator->translateJS('COM_DPCALENDAR_VIEW_BOOKINGFORM_GO_REVIEW_BUTTON');
$this->translator->translateJS('COM_DPCALENDAR_VIEW_BOOKINGFORM_GO_CONFIRM_BUTTON');
$this->translator->translateJS('COM_DPCALENDAR_VIEW_BOOKINGFORM_GO_CONFIRM_PAYMENT_BUTTON');
$buttonText = $this->bookingId ? 'JSAVE' : 'COM_DPCALENDAR_VIEW_BOOKINGFORM_GO_REVIEW_BUTTON';
if ($this->event->capacity !== null && $this->event->capacity_used >= $this->event->capacity && $this->event->booking_waiting_list
&& ((is_countable($this->events) ? count($this->events) : 0) == 1 || $this->event->booking_series != 2) && !$this->bookingId) {
$buttonText = 'COM_DPCALENDAR_VIEW_BOOKINGFORM_WAITING_BUTTON';
}
// Ensure when tickets are on waiting list, that the button state is in waiting mode
if ((int)$this->event->waiting_list_count > 0) {
$buttonText = 'COM_DPCALENDAR_VIEW_BOOKINGFORM_WAITING_BUTTON';
}
?>
<div class="com-dpcalendar-bookingform__actions dp-button-bar">
<button type="button" class="dp-button dp-button-action dp-button-save" data-task="save"
data-waiting="<?php echo $buttonText === 'COM_DPCALENDAR_VIEW_BOOKINGFORM_WAITING_BUTTON' ? 1 : 0; ?>"
data-review="<?php echo $this->bookingId ? '' : $this->params->get('booking_review_step', 2); ?>"
data-confirm="<?php echo $this->bookingId ? '' : $this->params->get('booking_confirm_step', 1); ?>">
<?php echo $this->layoutHelper->renderLayout('block.icon', ['icon' => Icon::NEXT]); ?>
<span class="dp-button-save__text"><?php echo $this->translate($buttonText); ?></span>
</button>
<button type="button" class="dp-button dp-button-action dp-button-cancel" data-task="cancel">
<?php echo $this->layoutHelper->renderLayout('block.icon', ['icon' => Icon::CANCEL]); ?>
<?php echo $this->translate('COM_DPCALENDAR_VIEW_BOOKINGFORM_' . ($this->bookingId ? 'CANCEL' : 'ABORT') . '_BUTTON'); ?>
</button>
</div>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| default.php | File | 2.56 KB | 0664 |
|
| default_actions.php | File | 2.18 KB | 0664 |
|
| default_events.php | File | 7.87 KB | 0664 |
|
| default_existing_booking.php | File | 1.04 KB | 0664 |
|
| default_fields.php | File | 878 B | 0664 |
|
| default_heading.php | File | 447 B | 0664 |
|
| default_info_text.php | File | 483 B | 0664 |
|
| default_info_text_events_discount.php | File | 1.11 KB | 0664 |
|
| default_info_text_tickets_discount.php | File | 1009 B | 0664 |
|
| default_series_info.php | File | 662 B | 0664 |
|
| default_steps.php | File | 1.69 KB | 0664 |
|
| default_total.php | File | 719 B | 0664 |
|
| default_total_coupon.php | File | 1.15 KB | 0664 |
|
| default_total_events.php | File | 749 B | 0664 |
|
| default_total_events_discount.php | File | 767 B | 0664 |
|
| default_total_tax.php | File | 960 B | 0664 |
|
| default_total_tickets_discount.php | File | 773 B | 0664 |
|