=== WooCommerce LastMily ===
Contributors: obstechnologies
Tags: woocommerce, shipping, courier, lastmily, vouchers
Requires at least: 7.0
Tested up to: 7.1
Requires PHP: 7.4
Requires Plugins: woocommerce
Stable tag: 1.0.33
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

LastMily courier shipping for WooCommerce: live rates, add-on services, pickup points, vouchers, A4 position picker, day close and status updates.

== Description ==

* Shipping method «LastMily» with live LastMily quotes (prices incl. VAT).
* Add-on services at checkout (Saturday delivery, delivery time window), charged once as a fee.
* Pickup points (PUDO/locker) when enabled for the LastMily account.
* Voucher creation (home delivery or pickup point, cash on delivery), printing in A4 (4 per page with position picker), A4 and A6.
* «Κλείσιμο Αποστολών Ημέρας» with history and printable list.
* Shipment status updates from LastMily (webhook).

Works with the classic cart/checkout; Cart/Checkout block pages are shown as the classic checkout.

== Changelog ==

= 1.0.33 =
* Documentation tab: accurate summary of the user guide (setup, add-ons, vouchers, day close, tracking, troubleshooting, support).
* Checkout: no address suggestions while the LastMily integration is off; only one suggestion list when LastMily and Myspeedex run together.

= 1.0.32 =
* English is the base language; Greek ships as a translation (Greek sites see no change, other languages see English).
* Checkout: the delivery-time list is no longer cut off by themes that fix the height of select fields (e.g. XStore).
* Admin: visible badges for rescheduled / failed / returned vouchers on the orders list and in the order box.

= 1.0.31 =
* Checkout: postcode without space, max 5 address suggestions + manual entry, no checkout refresh while typing, region filled, phone required for LastMily, no empty add-ons box.
* Admin: all texts in Greek, bulk print in a new tab, print button after creating a voucher, reason of a failed voucher shown.

= 1.0.30 =
* Vouchers page: «Τελευταία κατάσταση» column from LastMily tracking; pickup is no longer counted as delivery; working Tracking button.

= 1.0.29 =
* Day close: vouchers from before the upgrade show «—» and are not counted; the modal lists other days with open vouchers.

= 1.0.28 =
* Day close «Προχωρημένο»: long lists scroll inside the window; the confirm button stays visible.
* Vouchers page: «Κλείσιμο ημέρας» filter (open / closed) and links from a close to its vouchers.

= 1.0.27 =
* «URL περιβάλλοντος δοκιμών» shown again under the environment choice, only with UAT.

= 1.0.26 =
* «Προηγμένες Ρυθμίσεις» hidden from store owners; shown with LASTMILY_ADVANCED_SETTINGS or the lastmily_advanced_settings_enabled filter.

= 1.0.25 =
* Day close works on stores with more than 500 past vouchers (the day is queried directly, no partial close).
* Legacy voucher PDFs: older file names moved too; nothing is deleted unless it was moved.
* Rarely changed settings (webhook, test URL, checkout cards, delete data on uninstall) moved to closed «Προηγμένες Ρυθμίσεις» sections; the test URL shows only with UAT.

= 1.0.24 =
* Checkout add-on panel aligned under its rate, no empty separator.
* A4 position picker on every print entry point (HPOS and legacy).
* «Κλείσιμο Αποστολών Ημέρας» (Απλό / Προχωρημένο).
* Sender details hidden until the sender API call is ready; vouchers without sender.
* Configurable test (UAT) environment URL.
* Security and correctness fixes: server-side prices, add-ons charged once, pickup point kept and sent, COD on vouchers, VAT, protected PDF cache, short checkout timeouts, redacted logs, webhook, blocks fallback.
