PluginProbe ʕ •ᴥ•ʔ
LatePoint – Calendar Booking Plugin for Appointments and Events / 5.2.11
LatePoint – Calendar Booking Plugin for Appointments and Events v5.2.11
5.6.6 5.6.5 5.6.4 5.6.3 5.6.2 5.6.1 5.6.0 5.5.2 5.5.1 5.5.0 5.4.2 trunk 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.1.8 5.1.9 5.1.91 5.1.92 5.1.93 5.1.94 5.2.0 5.2.1 5.2.10 5.2.11 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7 5.2.8 5.2.9 5.3.0 5.3.1 5.3.2 5.4.0 5.4.1
latepoint / lib / views / calendars / quick_actions.php
latepoint / lib / views / calendars Last commit date
scopes 9 months ago load_monthly_calendar_days_only.php 1 year ago missing_resources.php 1 year ago quick_actions.php 1 year ago view.php 9 months ago
quick_actions.php
36 lines
1 <?php
2 /**
3 * @var $agents_list array
4 * @var $services_list array
5 * @var $locations_list array
6 * @var $blocked_period OsOffPeriodModel
7 * @var $readable_start_date string
8 * @var $start_date OsWpDateTime
9 *
10 */
11 ?>
12 <div class="latepoint-lightbox-heading">
13 <h2><?php echo $readable_start_date; ?></h2>
14 </div>
15 <div class="latepoint-lightbox-content">
16 <div class="quick-calendar-actions-wrapper <?php echo $blocked_period->is_new_record() ? '' : 'showing-settings'; ?>">
17 <div class="quick-calendar-actions">
18 <div class="quick-calendar-action-new-booking quick-calendar-action" <?php echo OsOrdersHelper::quick_order_btn_html( false, [ 'start_time' => $blocked_period->start_time,
19 'agent_id' => $blocked_period->agent_id,
20 'start_date' => $blocked_period->start_date,
21 'location_id' => $blocked_period->location_id,
22 'service_id' => $blocked_period->service_id
23 ] ); ?>><i class="latepoint-icon latepoint-icon-plus1"></i><span><?php esc_html_e( 'Create a Booking', 'latepoint' ); ?></span></div>
24 <div class="quick-calendar-action-slot-off quick-calendar-action"><i class="latepoint-icon latepoint-icon-clock"></i><span><?php esc_html_e( 'Block a Time Slot', 'latepoint' ); ?></span></div>
25 <div class="quick-calendar-action-day-off quick-calendar-action"><i class="latepoint-icon latepoint-icon-cancel"></i><span><?php esc_html_e( 'Set as Day Off', 'latepoint' ); ?></span></div>
26 </div>
27 <div class="quick-calendar-action-settings <?php echo $blocked_period->is_new_record() ? 'setting-day-off' : 'setting-slot-off'; ?>">
28 <div class="quick-calendar-locked-feature">
29 <h3><?php esc_html_e('Premium Feature', 'latepoint'); ?></h3>
30 <div><?php esc_html_e('This feature is only available in a Premium version.', 'latepoint'); ?></div>
31 <a href="#" class="latepoint-btn latepoint-btn-primary" <?php echo OsSettingsHelper::get_link_attributes_for_premium_features(); ?> target="blank"><span><?php esc_html_e('Unlock All Features', 'latepoint'); ?></span><i class="latepoint-icon latepoint-icon-arrow-right"></i></a>
32 </div>
33 <?php do_action( 'latepoint_quick_calendar_actions_settings', $blocked_period, $start_date, $readable_start_date, $agents_list, $services_list, $locations_list ); ?>
34 </div>
35 </div>
36 </div>