Plugin Directory

Changeset 3329391


Ignore:
Timestamp:
07/17/2025 06:10:25 AM (8 months ago)
Author:
arture
Message:

Version 2.1.9

Location:
order-picking-app/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • order-picking-app/trunk/admin/class-orderpickingapp-admin.php

    r3309569 r3329391  
    990990                    elseif (str_contains($item['name'], 'app_users_password')) {
    991991                        $app_users[$app_users_counter]['app_users_password'] = $item['value'];
     992                    }
     993                    elseif (str_contains($item['name'], 'app_users_start_time')) {
     994                        $app_users[$app_users_counter]['app_users_start_time'] = $item['value'];
     995                    }
     996                    elseif (str_contains($item['name'], 'app_users_end_time')) {
     997                        $app_users[$app_users_counter]['app_users_end_time'] = $item['value'];
    992998                    }
    993999                    elseif (str_contains($item['name'], 'app_users_picking_amount')) {
  • order-picking-app/trunk/admin/partials/orderpickingapp-settings-page.php

    r3316832 r3329391  
    525525                                        'app_users_password'        => '',
    526526                                        'app_users_picking_amount'  => '',
    527                                         'app_users_type'            => ''
     527                                        'app_users_type'            => '',
     528                                        'app_users_start_time'      => '',
     529                                        'app_users_end_time'        => ''
    528530                                    );
    529531                                }
     
    535537                                $i--; ?>
    536538                                <div class="form-group <?php echo ($i == 0)? 'duplicate_row' : ''; ?>" style="width: 100%;margin: 10px 0; min-height: 30px;">
    537                                     <input style="float: left; width: 25%;margin-right: 10px;" type="text" class="form-control app_users_name" name="app_users_name" value="<?php echo $app_user['app_users_name']; ?>" placeholder="<?php echo $app_user['app_users_name']; ?>"/>
    538                                     <input style="float: left; width: 25%;margin-right: 10px;" type="text" class="form-control" name="app_users[][app_users_password]" value="<?php echo $app_user['app_users_password']; ?>" placeholder="<?php echo __( 'Enter user password (optional)', 'orderpickingapp' ); ?>"/>
     539                                    <input style="float: left; width: 20%;margin-right: 10px;" type="text" class="form-control app_users_name" name="app_users[][app_users[][app_users_password]]" value="<?php echo $app_user['app_users_name']; ?>" placeholder="<?php echo $app_user['app_users_name']; ?>"/>
     540                                    <input style="float: left; width: 20%;margin-right: 10px;" type="text" class="form-control" name="app_users[][app_users_password]" value="<?php echo $app_user['app_users_password']; ?>" placeholder="<?php echo __( 'Enter user password (optional)', 'orderpickingapp' ); ?>"/>
     541                                    <input style="float: left; width: 8%;margin-right: 10px;" type="number" min="0" max="23" step="1" class="woocommerce-Input woocommerce-Input--text input-text" name="app_users[][app_users_start_time]" value="<?php echo $app_user['app_users_start_time']; ?>" placeholder="Start"/>
     542                                    <input style="float: left; width: 8%;margin-right: 10px;" type="number" min="0" max="23" step="1" class="woocommerce-Input woocommerce-Input--text input-text" name="app_users[][app_users_end_time]" value="<?php echo $app_user['app_users_end_time']; ?>" placeholder="End"/>
    539543                                    <span class="dashicons dashicons-trash remove_picker" style="float: right;margin: 4px 10px;"></span>
    540                                     <select style="float: left; width: 20%;margin-right: 10px;" name="app_users_picking_amount">
     544                                    <select style="float: left; width: 18%;margin-right: 10px;" name="app_users_picking_amount">
    541545                                        <?php if( isset($app_user['app_users_type']) && ( $app_user['app_users_type'] == 'sales' || $app_user['app_users_type'] == 'inventory' ) ): ?>
    542546                                            <option value="1" selected>-</option>
     
    548552                                        <?php endif; ?>
    549553                                    </select>
    550                                     <select class="form-select" style="float: left; width: 20%;" name="app_users[][app_users_type]">
     554                                    <select class="form-select" style="float: left; width: 18%;" name="app_users[][app_users_type]">
    551555                                        <option value="" <?php echo ( !isset($app_user['app_users_type']) || $app_user['app_users_type'] == '')? 'selected' : ''; ?>>Picker</option>
    552556                                        <?php if( $app_settings['subscription']['pos_addon'] ): ?>
     
    562566                        <?php else: ?>
    563567                            <div class="form-group duplicate_row" style="width: 100%;margin: 10px 0; min-height: 30px;">
    564                                 <input style="float: left; width: 25%;margin-right: 10px;" type="text" class="form-control" name="app_users_name" value="" placeholder="Enter user name"/>
    565                                 <input style="float: left; width: 25%;margin-right: 10px;" type="text" class="form-control" name="app_users[][app_users_password]" value="" placeholder="<?php echo __( 'Enter user password (optional)', 'orderpickingapp' ); ?>"/>
    566                                 <select style="float: left; width: 20%;margin-right: 10px;" name="app_users_picking_amount">
     568                                <input style="float: left; width: 20%;margin-right: 10px;" type="text" class="form-control" name="app_users[][app_users_name]" value="" placeholder="Enter user name"/>
     569                                <input style="float: left; width: 20%;margin-right: 10px;" type="text" class="form-control" name="app_users[][app_users_password]" value="" placeholder="<?php echo __( 'Enter user password (optional)', 'orderpickingapp' ); ?>"/>
     570                                <input style="float: left; width: 8%;margin-right: 10px;" type="number" min="0" max="23" step="1" class="woocommerce-Input woocommerce-Input--text input-text" name="app_users[][app_users_start_time]" value="" placeholder="Start"/>
     571                                <input style="float: left; width: 8%;margin-right: 10px;" type="number" min="0" max="23" step="1" class="woocommerce-Input woocommerce-Input--text input-text" name="app_users[][app_users_end_time]" value="" placeholder="End"/>
     572                                <select style="float: left; width: 18%;margin-right: 10px;" name="app_users_picking_amount">
    567573                                    <option value="1">Single order picking</option>
    568574                                    <?php for ($x = 2; $x <= 20; $x++): ?>
     
    570576                                    <?php endfor; ?>
    571577                                </select>
    572                                 <select class="form-select" style="float: left; width: 20%;" name="app_users[][app_users_type]">
     578                                <select class="form-select" style="float: left; width: 18%;" name="app_users[][app_users_type]">
    573579                                    <option value="">Picker</option>
    574580                                    <?php if( $app_settings['subscription']['pos_addon'] ): ?>
  • order-picking-app/trunk/orderpickingapp.php

    r3316832 r3329391  
    33 * Plugin Name:       Order Picking App
    44 * Description:       Make your life easier by using the Orderpicking App. You'll never be inefficient if the Orderpicking App is installed in your store. We assist you in all aspects of your webshop. From intelligent selecting to order packing, we have you covered. Connecting the Orderpicking App to your Woocommerce webshop is simple and quick. Within an hour, you'll be online with the Orderpicking App. You're able to pick and pack your orders three times faster and with greater accuracy.
    5  * Version:           2.1.8
     5 * Version:           2.1.9
    66 * Author:            Arture | PHP Professionals
    77 * Author URI:        http://arture.nl
  • order-picking-app/trunk/readme.txt

    r3316832 r3329391  
    55Requires at least: 6.0
    66Tested up to: 6.8.1
    7 Stable tag: 2.1.8
     7Stable tag: 2.1.9
    88Requires PHP: 8.0
    99License: GPLv2 or later
     
    3737== Changelog ==
    3838
     39= 2.1.9 =
     40* Woocommerce settings for picker start en end time
     41
    3942= 2.1.8 =
    4043* New settings for custom Woocommerce status change for Picking, Packing and Completed
Note: See TracChangeset for help on using the changeset viewer.