=== Occupancy Plan=== Contributors: tharkun69 Donate link: https://www.software-kunze.de/ Tags: Occupancy Plan, Belegungsplan, Booking, Buchungen, Hallenbelegung, Reservierung Requires at least: 4.9 Tested up to: 6.1.2 Stable tag: 1.3.13 Requires PHP: 5.2.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html With this plugin it is possible to manage an occupancy plan. == Description == With this plugin you can manage an occupancy plan, which shows assigned bookings. The schedule is shown for a single day or a complete week. **FEATURES OF THE FREE VERSION** * Create a occupancy plan * Define basic colors (header background, text and border) for the plan * occupancy plan integration via shortcode * Plan can show a single day or a complete week * Create bookings for specific dates or intervals (weekly, monthly) * Define booking colors for text and background * Support of multiple courts * Logged on user with the required permission can reservate bookings in the public area * Show booking details **FEATURES OF THE PREMIUM VERSION** * All of the FREE VERSION A detailed list of all functions can be found on https://www.software-kunze.de/plugins/occupancy-plan. **SUPPORT** The plugin is constantly being developed and supported. Support inquiries please only by email support@software-kunze.de == Installation == Upload the plugin via ZIP or install and activate it via the WordPress plugin installer. Afterwards all settings can be adjusted. == Screenshots == 1. Frontend with a occupancy plan 2. Admin area occupancy plan details 3. Admin area booking details 4. Frontend booking details dialog 5. Frontend booking reservation request 6. Configuration of email notification == Changelog == = 1.3.13 = * Bugfix: Correct logic for hidden "mailaddress" field * Bugfix: Show courtname "Completed", if alle courts booked * Support load of email template from url * Configurable "Undefined Name" preset for new bookings = 1.3.12 = * Bugfix: “Allow time edit” also for “daily” schedules * Bugfix: Set tooltip for every block * Bugfix: Use of correct time format string for editable bookings * Bugfix: Update plan court count for bulk delete = 1.3.11 = * Bugfix: Save of intervalinfo for monthly interval = 1.3.10 = * Bugfix: Save changed block colors from frontend detail dialog * Bugfix: Provisional not saved for modification of existing blocks = 1.3.9 = * Bugfix: Create correct block number for selected court with multiple child courts * Bugfix: Show child courts on frontend * Bugfix: Logic for anonymized block name in Frontend * Backend panels uses capability 'manage_occupancy' = 1.3.8 = * Don't send mail for block update * Bugfix: Don't update colors and created / created by * Support import of block for selected schedule * Tested with WordPress 6.1 * CSV import & export uses semicolon as delmiter = 1.3.7 = * Hotfix: Error in render body function call = 1.3.6 = * Flexible time interval configuration * Bugfix: Missing parameter in replace email tags call * Support of monthly preview * Email subjects support place holders * Show configurable tooltip on frontend bookings = 1.3.5 = * Add placeholder 'courtname' / 'courtshortname' to email template * Bugfix: Correct logic for email template placeholder 'court' = 1.3.4 = * Bugfix: Approval Workflows = 1.3.3 = * Bugfix: Initial hide of frontend dialogs * Allow court edit in frontend dialog = 1.3.2 = * Bugfix: Support of custom time slots in weekly view = 1.3.1 = * Every second week interval added => Allow bookings every even or uneven week * Show court short names in weekly view = 1.3.0 = * Bugfix: Missing block field names added = 1.2.9 = * Bugfix: Add mailaddress field to create block table * Bugfix: Correct handling of provisional flag = 1.2.8 = * Flexible interval added => Allow to book time slots for multiple days * Bugfix: Don't load court names for new booking without a selected plan = 1.2.7 = * Plan preview in backend * Add of missing occupancy-plan-provisional-blocks.php = 1.2.6 = * Support of anonymized bookings in the frontend * Provisional bookings and approval process / confirmation & reject mails * Tested with WordPress 5.9.1 = 1.2.5 = * Update database version check added = 1.2.4 = * Add of mail from name * Change email template column to type text * Support of email placeholder [interval] and [intervalinfo] * Block field mailadress added, for user which are not logged in * Allow time and interval modification on frontend * Fix data query for monthly interval in daily view = 1.2.3 = * Add of edit occupancy role => User allow the edit/delete their bookings * Tested with WordPress 5.8.2 / 5.8.3 * Bugix: To date in weekly view * Daily view - Add special logic for weekly and monthly interval * Better print layout = 1.2.1 = * Add of occupancy manager role = 1.2 = * Bugix: Dayly View - Use default block colors from plan * Tested with WordPress 5.8 = 1.1.7 = * Bugix: Dayly View - Set shortname and name for current user = 1.1.6 = * Add user name, email to bookable element as defaults * Add mailfrom element to schedule configuration * Bugfix: Allow delete of booking by authorized users * Add default color values (text and background) for new bookings * Hide court select in dialogs, if only on court is available = 1.1.5 = * Tested with WordPress 5.7.2 * Bugfix: E-Mail notification fix = 1.1.4 = * Bugfix: Name field on front end is a required field * Bugfix: Edit start/end time on front end only for users with 'manage_occupancy' capability * Add Flag 'AllowTimeEdit' which indicates if the user is allowed to edit start/end time in the frontend = 1.1.3 = * Bugfix: Allow add reserveration from frontend without logon * Bugfix: Allow break time zero * Bugfix: Calcluate correct schedule endtime in week modus = 1.1.2 = * Tested with WordPress 5.7 * Break start and end time * Custom fields * Support of time slots for individual schedules * Import / Export of schedules = 1.1.1 = * Tested with WordPress 5.6.1 * Don't use PHP short tags * Use form labels in admin backend * Support of bulk action delete in admin lists * Show tooltips on backend forms = 1.1.0 = * Bugfix: Select correct weekday for date on a sunday * Keep location scroll position after POST reload * Support of drag & drop in public frontend * Dashboard widget show newest bookings * Delete of bookings from frontend = 1.1 = * Tested with WordPress 5.6 * Add capability 'manage_occupancy' to allow users backend access * Edit bookings in frontend = 1.0.12 = * Bugfix: Display occupancy plan in yearly mode * Bugfix: Set interval and weekday correct for new booking from frontend * Change naming of plans and books to occupancy schedule and bookings * Bugfix: Load booking details correct in daily mode * Bugix: Correct court selection for mode daily = 1.0.11 = * Bugfix: JQuery confirm dialogs * Bugfix: Court name save logic * Calculate number of plan courts * Bugfix: JQuery details and booking dialog layout * BugFix: Backend weekday Sunday select fails = 1.0.10 = * Tested with WordPress 5.5.3 * Bugfix: New court name save * Some addition CSS stuff to correct the layout = 1.0.9 = * Configuration of court names * Court names childs * Cleanup job to delete old bookings * Tested with WordPress 5.5.2 = 1.0.8 = * Prepared bookings = 1.0.7 = * Bigger field to configure labels * Support of booking name list * Disable the capability check for frontend users * CSS fixes to correct plan layout = 1.0.6 = * Fix error loading the wp-color-picker * Restrict size of details and booking dialog = 1.0.5 = * Tested with WordPress 5.5.1 * Show correct court number in booking table * Correct error for first booking style = 1.0.4 = * Some fixes for the daily mode * Show correct booking details = 1.0.3 = * Tested with WordPress 5.5 * Add i18n support for JavaScript = 1.0.2 = * Weekly view is possible for max 4 courts * Support multiple court labels separated by a pipe character | * Support of monthly and yearly view = 1.0.1 = * Correct spelling mistakes in the readme.txt * Correct plan layout (half hour mode) for Firefox, Edge and Opera = 1.0.0 = * Implemented basic features == Upgrade Notice ==