PluginProbe
Booking Calendar / 11.6
Booking Calendar v11.6
11.9 11.8.4 11.8.3 11.8.2 11.8.1 11.8 11.7 11.6.1 11.6 11.5 11.4.3 11.4.2 11.4.1 11.4 11.3 11.2.1 11.2 11.1 11.0 10.15.7 10.15.6 10.1.3 10.10 10.10.1 10.10.2 All 205 releases
booking / includes / page-appointment-services / templates / catalog / service-row-wptpl.php

service-row-wptpl.php in Booking Calendar 11.6, at includes/page-appointment-services/templates/catalog/service-row-wptpl.php

19 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Complete Appointment Service table-row WP template.
4 *
5 * Renders the ordered, visible Service fields prepared from the normalized DTO
6 * without performing queries, authorization, or mutation work.
7 *
8 * @package Booking Calendar
9 * @since 11.6.0
10 */
11 if ( ! defined( 'ABSPATH' ) ) { exit; }
12 ?>
13 <script type="text/html" id="tmpl-wpbc-appointment-service-row">
14 <tr class="wpbc_ui_listing__row wpbc_ui_catalog_inline_row wpbc_appointment_services__item<# if ( data.is_inspector_selected ) { #> is-inspector-selected<# } #>" data-service-id="{{ data.service_id }}" data-wpbc-ui-catalog-selectable-row data-wpbc-ui-catalog-selection-checkbox-only data-wpbc-right-sidebar-keep-open="1" tabindex="0" aria-current="{{ data.is_inspector_selected ? 'true' : 'false' }}">
15 <td class="wpbc_ui_listing__selection_column column-selection"><input type="checkbox" value="{{ data.service_id }}" data-wpbc-ui-catalog-select-item aria-label="{{ data.select_label }}"></td>
16 <# _.each( data.columns, function ( column ) { #><td class="{{ column.class_name }}" data-label="{{ column.label }}"><# print( data.cells[ column.id ] || '' ); #></td><# } ); #>
17 </tr>
18 </script>
19