partials
2 months ago
_booking__agents.php
9 months ago
_booking__datepicker.php
9 months ago
_booking__services.php
9 months ago
_confirmation.php
2 months ago
_customer.php
4 months ago
_payment__methods.php
1 year ago
_payment__pay.php
1 year ago
_payment__portions.php
1 year ago
_payment__processors.php
1 year ago
_payment__times.php
1 year ago
_verify.php
1 year ago
load_step.php
1 year ago
preset_slot_not_available.php
1 year ago
start.php
1 year ago
start_instant.php
1 year ago
_booking__agents.php
30 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @var $current_step_code string |
| 4 | * @var $booking OsBookingModel |
| 5 | * @var $restrictions array |
| 6 | * @var $presets array |
| 7 | * @var $agents OsAgentModel[] |
| 8 | */ |
| 9 | |
| 10 | |
| 11 | if ( ! defined( 'ABSPATH' ) ) { |
| 12 | exit; // Exit if accessed directly |
| 13 | } |
| 14 | ?> |
| 15 | <div class="step-agents-w latepoint-step-content <?php echo ($booking->agent_id) ? 'is-hidden' : ''; ?>" |
| 16 | data-step-code="<?php echo esc_attr($current_step_code); ?>" |
| 17 | data-next-btn-label="<?php echo esc_attr(OsStepsHelper::get_next_btn_label_for_step($current_step_code)); ?>" |
| 18 | data-clear-action="latepoint_clear_step_agents"> |
| 19 | <?php |
| 20 | do_action('latepoint_before_step_content', $current_step_code); |
| 21 | echo OsStepsHelper::get_formatted_extra_step_content($current_step_code, 'before'); |
| 22 | |
| 23 | OsAgentHelper::generate_agents_list($agents); |
| 24 | |
| 25 | echo OsStepsHelper::get_formatted_extra_step_content($current_step_code, 'after'); |
| 26 | do_action('latepoint_after_step_content', $current_step_code); |
| 27 | |
| 28 | echo OsFormHelper::hidden_field('booking[agent_id]', $booking->agent_id, ['class' => 'latepoint_agent_id', 'skip_id' => true]); |
| 29 | ?> |
| 30 | </div> |