default.php
1 month ago
default.xml
1 month ago
default_calendars.php
1 month ago
default_checkout.php
1 month ago
default_contact.php
1 month ago
default_filterbar.php
1 month ago
default_login.php
1 month ago
default_options.php
1 month ago
default_reviews.php
1 month ago
default_service.php
1 month ago
default_timeline.php
1 month ago
default_waitlist.php
1 month ago
index.html
1 month ago
default_timeline.php
68 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @package VikAppointments |
| 4 | * @subpackage core |
| 5 | * @author E4J s.r.l. |
| 6 | * @copyright Copyright (C) 2021 E4J s.r.l. All Rights Reserved. |
| 7 | * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL |
| 8 | * @link https://vikwp.com |
| 9 | */ |
| 10 | |
| 11 | // No direct access |
| 12 | defined('ABSPATH') or die('No script kiddies please!'); |
| 13 | |
| 14 | $data = array( |
| 15 | /** |
| 16 | * The service ID. |
| 17 | * |
| 18 | * @var integer |
| 19 | */ |
| 20 | 'id_service' => $this->idService, |
| 21 | |
| 22 | /** |
| 23 | * The employee ID. |
| 24 | * |
| 25 | * @var integer |
| 26 | */ |
| 27 | 'id_employee' => $this->idEmployee, |
| 28 | |
| 29 | /** |
| 30 | * A pre-selected check-in hour. |
| 31 | * |
| 32 | * @var integer |
| 33 | */ |
| 34 | 'hour' => $this->hour, |
| 35 | |
| 36 | /** |
| 37 | * A pre-selected check-in minute. |
| 38 | * |
| 39 | * @var integer |
| 40 | */ |
| 41 | 'min' => $this->min, |
| 42 | |
| 43 | /** |
| 44 | * Flag used to check whether the selected service supports the |
| 45 | * check-out selection through the dropdown timeline. |
| 46 | * |
| 47 | * @var boolean |
| 48 | */ |
| 49 | 'checkout' => $this->service->checkout_selection, |
| 50 | ); |
| 51 | |
| 52 | /** |
| 53 | * The timeline block is displayed from the layout below: |
| 54 | * /components/com_vikappointments/layouts/blocks/timeline.php |
| 55 | * |
| 56 | * If you need to change something from this layout, just create |
| 57 | * an override of this layout by following the instructions below: |
| 58 | * - open the back-end of your Joomla |
| 59 | * - visit the Extensions > Templates > Templates page |
| 60 | * - edit the active template |
| 61 | * - access the "Create Overrides" tab |
| 62 | * - select Layouts > com_vikappointments > blocks |
| 63 | * - start editing the timeline.php file on your template to create your own layout |
| 64 | * |
| 65 | * @since 1.6 |
| 66 | */ |
| 67 | echo JLayoutHelper::render('blocks.timeline', $data); |
| 68 |