_booking_data.php
1 year ago
_full_summary.php
1 year ago
_table_body.php
2 months ago
customize_table.php
2 months ago
grouped_bookings_quick_view.php
1 year ago
index.php
2 months ago
pending_approval.php
1 year ago
quick_availability.php
1 year ago
view_booking_log.php
1 year ago
_table_body.php
28 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 | |
| 9 | if ( ! defined( 'ABSPATH' ) ) { |
| 10 | exit; // Exit if accessed directly |
| 11 | } |
| 12 | ?> |
| 13 | |
| 14 | <?php |
| 15 | if($bookings){ |
| 16 | foreach ($bookings as $booking): ?> |
| 17 | <tr class="os-clickable-row" <?php echo OsBookingHelper::quick_booking_btn_html($booking->id); ?>> |
| 18 | <?php |
| 19 | foreach ( $ordered_columns as $col_key => $col_def ) { |
| 20 | if ( ! OsSettingsHelper::is_bookings_column_visible( $col_def, $selected_columns, count( $services_list ), count( $agents_list ), count( $locations_list ) ) ) continue; |
| 21 | echo OsBookingHelper::render_table_body_cell( $col_key, $col_def, $booking ); |
| 22 | } |
| 23 | ?> |
| 24 | </tr> |
| 25 | <?php |
| 26 | endforeach; |
| 27 | }?> |
| 28 |