_booking_data.php
1 year ago
_full_summary.php
1 year ago
_table_body.php
3 weeks ago
customize_table.php
2 months ago
grouped_bookings_quick_view.php
1 year ago
index.php
3 weeks ago
pending_approval.php
1 year ago
quick_availability.php
1 year ago
view_booking_log.php
1 year ago
_table_body.php
30 lines
| 1 | <?php |
| 2 | /* @var $bookings OsBookingModel[] */ |
| 3 | /* @var $services_list array */ |
| 4 | /* @var $locations_list array */ |
| 5 | /* @var $agents_list array */ |
| 6 | /* @var $selected_columns array */ |
| 7 | /* @var $ordered_columns array */ |
| 8 | /* @var $can_bulk_delete bool */ |
| 9 | |
| 10 | if ( ! defined( 'ABSPATH' ) ) { |
| 11 | exit; // Exit if accessed directly |
| 12 | } |
| 13 | ?> |
| 14 | |
| 15 | <?php |
| 16 | if($bookings){ |
| 17 | foreach ($bookings as $booking): ?> |
| 18 | <tr class="os-clickable-row" <?php echo OsBookingHelper::quick_booking_btn_html($booking->id); ?>> |
| 19 | <?php if ( ! empty( $can_bulk_delete ) ) { echo OsBookingHelper::render_bulk_select_body_cell( $booking ); } ?> |
| 20 | <?php |
| 21 | foreach ( $ordered_columns as $col_key => $col_def ) { |
| 22 | if ( ! OsSettingsHelper::is_bookings_column_visible( $col_def, $selected_columns, count( $services_list ), count( $agents_list ), count( $locations_list ) ) ) continue; |
| 23 | echo OsBookingHelper::render_table_body_cell( $col_key, $col_def, $booking ); |
| 24 | } |
| 25 | ?> |
| 26 | </tr> |
| 27 | <?php |
| 28 | endforeach; |
| 29 | }?> |
| 30 |