| Server IP : 172.67.191.97 / Your IP : 104.23.243.196 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/idiomas/components/com_dpcalendar/tmpl/booking/ |
Upload File : |
<?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
*/
use DigitalPeak\Component\DPCalendar\Administrator\Helper\DPCalendarHelper;
\defined('_JEXEC') or die();
$this->translator->translateJS('COM_DPCALENDAR_BOOKING_FIELD_TAX_LABEL');
?>
<div class="com-dpcalendar-booking__content">
<dl class="dp-description">
<dt class="dp-description__label">
<?php echo $this->translate($this->booking->price ? 'COM_DPCALENDAR_INVOICE_NUMBER' : 'JGRID_HEADING_ID'); ?>
</dt>
<dd class="dp-description__description"><?php echo $this->booking->uid; ?></dd>
</dl>
<dl class="dp-description">
<dt class="dp-description__label">
<?php echo $this->translate($this->booking->price ? 'COM_DPCALENDAR_INVOICE_DATE' : 'COM_DPCALENDAR_CREATED_DATE'); ?>
</dt>
<dd class="dp-description__description">
<?php echo $this->dateHelper->getDate($this->booking->book_date)
->format($this->params->get('event_date_format', 'd.m.Y') . ' ' . $this->params->get('event_time_format', 'H:i')); ?>
</dd>
</dl>
<?php if ($this->booking->price) { ?>
<dl class="dp-description">
<dt class="dp-description__label"><?php echo $this->translate('COM_DPCALENDAR_BOOKING_FIELD_PRICE_LABEL'); ?></dt>
<dd class="dp-description__description dp-price">
<span class="dp-price__original">
<?php echo DPCalendarHelper::renderPrice($this->booking->price); ?>
</span>
<?php if ($this->booking->tax && $this->booking->tax != '0.00') { ?>
<span class="dp-price__tax">
<?php echo sprintf(
$this->translator->translate('COM_DPCALENDAR_LAYOUT_RECEIPT_TAX_TEXT'),
round($this->booking->tax_rate ?? 0, 2),
DPCalendarHelper::renderPrice($this->booking->tax)
); ?>
</span>
<?php } ?>
</dd>
</dl>
<?php } ?>
<?php foreach ($this->bookingFields as $field) { ?>
<dl class="dp-description dp-field-<?php echo $field->id; ?>">
<dt class="dp-description__label"><?php echo $this->translate($field->dpDisplayLabel); ?></dt>
<dd class="dp-description__description"><?php echo $field->dpDisplayContent; ?></dd>
</dl>
<?php } ?>
</div>