PATH:
home
/
letacommog
/
pymreception1
/
wp-content
/
plugins
/
wc-frontend-manager
/
views
/
wc_bookings
<?php /** * WCFM plugin view * * WCFM Bookings Dashboard View * * @author WC Lovers * @package wcfm/view * @version 2.3.5 */ global $WCFM; if( !current_user_can( 'manage_bookings' ) ) { wcfm_restriction_message_show( "Bookings" ); return; } ?> <div class="collapse wcfm-collapse" id=""> <div class="wcfm-page-headig"> <span class="wcfmfa fa-calendar-check"></span> <span class="wcfm-page-heading-text"><?php _e( 'Bookings', 'wc-frontend-manager' ); ?></span> <?php do_action( 'wcfm_page_heading' ); ?> </div> <div class="wcfm-collapse-content"> <div id="wcfm_page_load"></div> <?php do_action( 'before_wcfm_wcvendors_bookings_dashboard' ); ?> <div class="wcfm-container-box"> <div> <?php if( WCFM_Dependencies::wcfmu_plugin_active_check() ) { ?> <?php if( !wcfm_is_vendor() || ( wcfm_is_vendor() && ( $WCFM->is_marketplace == 'wcpvendors' ) ) ) { ?> <a class="wcfm_bookings_gloabl_settings wcfm_gloabl_settings text_tip" href="<?php echo get_wcfm_bookings_settings_url(); ?>" data-tip="<?php _e( 'Global Availability', 'woocommerce-bookings' ); ?>"><span class="wcfmfa fa-cog"></span></a> <?php } ?> <?php } else { ?> <a class="wcfm_bookings_gloabl_settings wcfm_gloabl_settings text_tip" href="#" onClick="return false;" data-tip="<?php wcfmu_feature_help_text_show( 'Global Availability', false, true ); ?>"><span class="wcfmfa fa-cog"></span></a> <?php } ?> </div> <div class="wcfm_clearfix"></div> <?php if( apply_filters( 'wcfm_is_allow_manual_booking', true ) ) { ?> <div class="wcfm-container"> <?php if( WCFM_Dependencies::wcfmu_plugin_active_check() ) { ?> <a href="<?php echo get_wcfm_create_bookings_url(); ?>"> <?php } ?> <div id="wcfm_bookings_product_add_expander" class="wcfm-content"> <div class="booking_dashboard_section_icon"><span class="wcfmfa fa-calendar-plus"></span></div> <div class="booking_dashboard_section_label"> <h2 title="<?php if( !WCFM_Dependencies::wcfmu_plugin_active_check() ) { wcfmu_feature_help_text_show( 'Manual Create Booking', false, true ); } ?>"><?php _e( 'Create Booking', 'wc-frontend-manager' ); ?></h2> </div> </div> <?php if( WCFM_Dependencies::wcfmu_plugin_active_check() ) { ?></a><?php } ?> </div> <?php } ?> <?php if( current_user_can( 'edit_products' ) && apply_filters( 'wcfm_is_allow_manage_products', true ) && apply_filters( 'wcfm_is_allow_add_products', true ) && apply_filters( 'wcfm_is_allow_create_bookable', true ) ) { ?> <div class="wcfm-container"> <a href="<?php echo get_wcfm_edit_product_url(); ?>"> <div id="wcfm_bookings_product_add_expander" class="wcfm-content"> <div class="booking_dashboard_section_icon"><span class="wcfmfa fa-edit"></span></div> <div class="booking_dashboard_section_label"><h2><?php _e( 'Create Bookable', 'wc-frontend-manager' ); ?></h2></div> </div> </a> </div> <?php } ?> </div> <?php if( $wcfm_is_allow_manage_resource = apply_filters( 'wcfm_is_allow_manage_resource', true ) ) { ?> <div class="wcfm-container-box"> <div class="wcfm-container wcfm-container-single"> <?php if( WCFM_Dependencies::wcfmu_plugin_active_check() ) { ?> <a href="<?php echo get_wcfm_bookings_resources_url(); ?>"> <?php } ?> <div id="wcfm_bookings_resources_expander" class="wcfm-content"> <div class="booking_dashboard_section_icon"><span class="wcfmfa fa-briefcase"></span></div> <div class="booking_dashboard_section_label"> <h2 title="<?php if( !WCFM_Dependencies::wcfmu_plugin_active_check() ) { wcfmu_feature_help_text_show( 'Manage Resources', false, true ); } ?>"><?php _e( 'Manage Resources', 'wc-frontend-manager' ); ?></h2> </div> </div> <?php if( WCFM_Dependencies::wcfmu_plugin_active_check() ) { ?></a><?php } ?> </div> </div> <?php } ?> <div class="wcfm-container-box"> <?php if( $wcfm_is_allow_booking_list = apply_filters( 'wcfm_is_allow_booking_list', true ) ) { ?> <div class="wcfm-container"> <?php if( WCFM_Dependencies::wcfmu_plugin_active_check() ) { ?> <a href="<?php echo get_wcfm_bookings_url(); ?>"> <?php } ?> <div id="wcfm_bookings_list_expander" class="wcfm-content"> <div class="booking_dashboard_section_icon"><span class="wcfmfa fa-calendar"></span></div> <div class="booking_dashboard_section_label"> <h2 title="<?php if( !WCFM_Dependencies::wcfmu_plugin_active_check() ) { wcfmu_feature_help_text_show( 'Bookings List', false, true ); } ?>"><?php _e( 'Bookings List', 'wc-frontend-manager' ); ?></h2> </div> </div> <?php if( WCFM_Dependencies::wcfmu_plugin_active_check() ) { ?></a><?php } ?> </div> <?php } ?> <?php if( $wcfm_is_allow_booking_calendar = apply_filters( 'wcfm_is_allow_booking_calendar', true ) ) { ?> <div class="wcfm-container"> <?php if( WCFM_Dependencies::wcfmu_plugin_active_check() ) { ?> <a href="<?php echo get_wcfm_bookings_calendar_url(); ?>"> <?php } ?> <div id="wcfm_bookings_calendar_expander" class="wcfm-content"> <div class="booking_dashboard_section_icon"><span class="wcfmfa fa-calendar-alt"></span></div> <div class="booking_dashboard_section_label"> <h2 title="<?php if( !WCFM_Dependencies::wcfmu_plugin_active_check() ) { wcfmu_feature_help_text_show( 'Bookings Calendar', false, true ); } ?>"><?php _e( 'Bookings Calendar', 'wc-frontend-manager' ); ?></h2> </div> </div> <?php if( WCFM_Dependencies::wcfmu_plugin_active_check() ) { ?></a><?php } ?> </div> <?php } ?> </div> <div class="wcfm_clearfix"></div><br /> <?php do_action( 'after_wcfm_wcvendors_bookings_dashboard' ); ?> </div> </div>
[+]
..
[-] wcfm-view-wcbookings-dashboard.php
[edit]
[-] wcfm-view-wcbookings.php
[edit]
[-] wcfm-view-wcbookings-details.php
[edit]