Plugin Directory

Changeset 3343695


Ignore:
Timestamp:
08/12/2025 04:34:24 PM (8 months ago)
Author:
jrmoser
Message:

v2.3.2

Location:
box-tracker
Files:
3 edited
13 copied

Legend:

Unmodified
Added
Removed
  • box-tracker/tags/2.3.2/box-tracker-online.php

    r3336096 r3343695  
    88Plugin URI: https://www.dumpster.software/api/word-press-plugin.html
    99Description: The Box Tracker plugin facilitates online ordering for waste haulers.  Depending on configuration, orders will result either in service requests on the customer screen or fully booked work orders on dispatch.  Using the Web API tab on Box Tracker's Preferences app, you can prevent over booking, control which days of the week online orders will be accepted, and prevent same day ordering.  For more information about Box Tracker or this plugin please contact support at 603 546 6751 option 2 or support@cairnapps.com
    10 Version: 2.3.1
     10Version: 2.3.2
    1111Author: Cairn Applications Inc
    1212Author URI: https://www.cloud-computing.rocks/
  • box-tracker/tags/2.3.2/includes/base/ajax-control.php

    r3328374 r3343695  
    201201                }
    202202
     203                //required-fields
     204                $b0xT_req_placement = 0;
     205                if(is_numeric($b0xT_pricing_query->reqPlacement)) {
     206                    $b0xT_req_placement = $b0xT_pricing_query->reqPlacement;   
     207                }
     208
    203209                //sanitize the availability data
    204210                $b0xT_availability_table                     = array();
     
    371377                $_SESSION['b0xT_ssession']['daysOfTheWeek']          = $b0xT_days_of_the_week;
    372378                $_SESSION['b0xT_ssession']['days']                   = $b0xT_days;
     379                $_SESSION['b0xT_ssession']['requiredPlacement']      = $b0xT_req_placement;
    373380
    374381                //return array
     
    734741        $b0xT_order_note             = sanitize_text_field($_POST['b0xT_order_note']);
    735742        $b0xT_customer_terms         = sanitize_text_field($_POST['b0xT_customer_terms']);
     743        $b0xT_req_placement          = sanitize_text_field($_SESSION['b0xT_ssession']['requiredPlacement']);
     744
     745        if($b0xT_req_placement == 1 || $b0xT_req_placement == "1") {
     746            if($b0xT_order_note == "") {
     747                $b0xT_field_errors['b0xT_order_note'] = 'Please enter placement instructions';   
     748            }
     749        }
    736750
    737751        //billing
  • box-tracker/tags/2.3.2/readme.txt

    r3336096 r3343695  
    44Requires PHP: 5.6.4
    55Tested up to: 6.8
    6 Stable tag: 2.3.1
     6Stable tag: 2.3.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • box-tracker/trunk/box-tracker-online.php

    r3336096 r3343695  
    88Plugin URI: https://www.dumpster.software/api/word-press-plugin.html
    99Description: The Box Tracker plugin facilitates online ordering for waste haulers.  Depending on configuration, orders will result either in service requests on the customer screen or fully booked work orders on dispatch.  Using the Web API tab on Box Tracker's Preferences app, you can prevent over booking, control which days of the week online orders will be accepted, and prevent same day ordering.  For more information about Box Tracker or this plugin please contact support at 603 546 6751 option 2 or support@cairnapps.com
    10 Version: 2.3.1
     10Version: 2.3.2
    1111Author: Cairn Applications Inc
    1212Author URI: https://www.cloud-computing.rocks/
  • box-tracker/trunk/includes/base/ajax-control.php

    r3328374 r3343695  
    201201                }
    202202
     203                //required-fields
     204                $b0xT_req_placement = 0;
     205                if(is_numeric($b0xT_pricing_query->reqPlacement)) {
     206                    $b0xT_req_placement = $b0xT_pricing_query->reqPlacement;   
     207                }
     208
    203209                //sanitize the availability data
    204210                $b0xT_availability_table                     = array();
     
    371377                $_SESSION['b0xT_ssession']['daysOfTheWeek']          = $b0xT_days_of_the_week;
    372378                $_SESSION['b0xT_ssession']['days']                   = $b0xT_days;
     379                $_SESSION['b0xT_ssession']['requiredPlacement']      = $b0xT_req_placement;
    373380
    374381                //return array
     
    734741        $b0xT_order_note             = sanitize_text_field($_POST['b0xT_order_note']);
    735742        $b0xT_customer_terms         = sanitize_text_field($_POST['b0xT_customer_terms']);
     743        $b0xT_req_placement          = sanitize_text_field($_SESSION['b0xT_ssession']['requiredPlacement']);
     744
     745        if($b0xT_req_placement == 1 || $b0xT_req_placement == "1") {
     746            if($b0xT_order_note == "") {
     747                $b0xT_field_errors['b0xT_order_note'] = 'Please enter placement instructions';   
     748            }
     749        }
    736750
    737751        //billing
  • box-tracker/trunk/readme.txt

    r3336096 r3343695  
    44Requires PHP: 5.6.4
    55Tested up to: 6.8
    6 Stable tag: 2.3.1
     6Stable tag: 2.3.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.