Changeset 3491140
- Timestamp:
- 03/25/2026 06:02:43 PM (9 days ago)
- Location:
- fez-delivery/trunk
- Files:
-
- 4 edited
-
app/admin/fez-core.php (modified) (1 diff)
-
fez-delivery.php (modified) (2 diffs)
-
readme.md (modified) (2 diffs)
-
vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fez-delivery/trunk/app/admin/fez-core.php
r3338923 r3491140 293 293 //check if response status is Success 294 294 if ($response_body->status == 'Success') { 295 //check if $response_body->Cost is an array 296 if (isset($response_body->Cost) && is_array($response_body->Cost)) { 297 //get the first item 298 $response_body->Cost = $response_body->Cost[0]; 299 } 300 301 //check if isset locker cost 302 if (isset($response_body->cost)) { 303 //add locker cost to response body 304 $response_body->Cost = (object) [ 305 'cost' => $response_body->cost 306 ]; 307 } 295 296 //add locker cost to response body 297 $response_body->Cost = (object) [ 298 'cost' => $response_body->totalCost 299 ]; 308 300 309 301 //return success -
fez-delivery/trunk/fez-delivery.php
r3338923 r3491140 8 8 * Author URI: https://www.fezdelivery.co/ 9 9 * Text Domain: fez-delivery 10 * Version: 1.1. 010 * Version: 1.1.1 11 11 * License: GPLv2 or later 12 12 * License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 27 27 28 28 //define constants 29 define('FEZ_DELIVERY_VERSION', '1.1.0');29 define('FEZ_DELIVERY_VERSION', time()); 30 30 define('FEZ_DELIVERY_FILE', __FILE__); 31 31 define('FEZ_DELIVERY_DIR', __DIR__); -
fez-delivery/trunk/readme.md
r3338923 r3491140 6 6 **Tested up to:** 6.8 7 7 **Requires PHP:** 7.4 8 **Stable tag:** 1.1. 08 **Stable tag:** 1.1.1 9 9 **License:** GPLv2 or later 10 10 **License URI:** https://www.gnu.org/licenses/gpl-2.0.html … … 31 31 32 32 ## Changelog ## 33 34 ### 1.1.1 ### 35 - Fixed the issue with the delivery state not being updated. 33 36 34 37 ### 1.1.0 ### -
fez-delivery/trunk/vendor/composer/installed.php
r3338923 r3491140 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' 0eecc2236a2704990c46abc9dcfb29c351f51ad4',6 'reference' => 'e71ac27ffab8cd6d0819c39cc1c16793ad03006f', 7 7 'type' => 'project', 8 8 'install_path' => __DIR__ . '/../../', … … 41 41 'pretty_version' => 'dev-main', 42 42 'version' => 'dev-main', 43 'reference' => ' 0eecc2236a2704990c46abc9dcfb29c351f51ad4',43 'reference' => 'e71ac27ffab8cd6d0819c39cc1c16793ad03006f', 44 44 'type' => 'project', 45 45 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.