=== Jeet Sanwal Return Inspection Checklist ===
Contributors: jeetsanwal
Tags: wordpress, woocommerce, products, workflow
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Keep a private manual return inspection beside one WooCommerce order: physical counts, condition and item/accessory checks, without refunds or stock automation.

== Description ==

The parcel came back. Give the inspection a place to land.

* One latest private inspection record per native order.
* Physical received quantities, condition, item match and accessories checks.
* Awaiting, Received and Reviewed manual states with staff/time notes.
* Changed order line details mark the previous inspection for review.
* HPOS and legacy editor links; protected private record workflow.

== Installation ==

1. Install this individual ZIP using Plugins > Add New > Upload Plugin and activate it.
2. Open WooCommerce > Return inspection and select a permitted order.
3. Record the physical quantities received, condition, item match, accessories and staff notes for the current order lines.
4. Save the latest private inspection and reopen it to check the result. This does not issue refunds, change stock, send messages or change order status.

== Scope and limits ==

This is an internal observation, not a customer return portal or a return/refund approval. Physical received counts are entered by staff and are not inferred from refunds, dispatch or stock. Counts cannot exceed the current ordered quantity; up to eight whole-number digits and six decimal places are supported. Reviewed means the selected checks were resolved, including a recorded No or Not applicable; it does not mean the item passed. No refund, restock, payment, order status or email action occurs.

One latest record is retained, not separate records for multiple return parcels. Saved line details changing mark earlier values for recheck; review before saving another state. The native order line collection loads before the 20-line limit is checked. No customer addresses, totals or arbitrary product/add-on metadata are used. Keep customer submissions and credentials out of notes. Records remain after uninstall for recovery.

Permissions are checked before private records. Dedicated saves require a current nonce and open-form token where records are stored. Concurrent direct edits by other administrative tools are outside this plugin's coordination. After a save error, reopen and check the latest stored record before retrying. Public caches and downloaded copies require your normal cache/copy handling. PHP syntax compatibility does not replace the active WordPress/WooCommerce version's own requirements.

== Frequently Asked Questions ==

= Does Reviewed approve a refund? =
No. It records that manual inspection choices were resolved. A recorded No, damage or missing accessory still needs your normal decision process.

= Are refunded quantities treated as physically returned? =
No. Enter the physical quantity you received. Monetary refunds and previous dispatch do not establish physical return counts.

= Is there a per-parcel inspection history? =
No. This version keeps the latest record for an order. A separate process is needed for multiple historical return parcels.

= Is everything free? =
With optional installation reports off, yes. GPL-2.0-or-later, no ads, external signup, telemetry, paid tier or public credits. Install newer versions from their individual ZIPs manually.

== Updating an existing installation ==

Download this plugin's individual ZIP from https://jeetsanwal.in/tools/jeet-return-inspection-checklist . Make a normal site backup and try the update on staging first. In WordPress, use Plugins > Add New > Upload Plugin and choose Replace current with uploaded when WordPress detects the existing installation. Keep the same plugin folder; do not uninstall/delete the plugin as an update step. Confirm the displayed version is 1.0.4, then reopen the plugin's normal screen and check one representative workflow described above. Clear relevant page caches if public output remains stale.

Updates are installed manually; a matching Update URI prevents unrelated directory plugins from replacing this package, but does not provide an update service. If replacement fails, check hosting upload limits and write permissions before retrying. To roll back, replace the plugin files with your saved previous ZIP; file replacement alone does not restore database records or deleted files. Use your site backup when data restoration is needed. Read this plugin's retention notes before deliberately uninstalling it.

Author and support: Jeet Sanwal — https://jeetsanwal.in/contact

Text preservation fix: newly saved supported records now retain literal backslashes and quotes. Previously altered text cannot be reconstructed automatically; reopen and correct it from your original source when needed. Existing metadata formats are unchanged.

== Optional installation reports ==

Installation reports are optional and OFF by default. Installing, activating, or using this product does not submit a report. Administrators can choose consent separately for each product under Settings > Jeet Sanwal Reports. All product features remain available with reporting off.

After explicit consent, the client sends the website URL, a random installation ID, product/WordPress/PHP versions, reported state, and an observed activation timestamp when available to https://jeetsanwal.in/api/v1/plugin-reports. While that product is active and consent remains enabled, a daily WordPress cron check-in can update its last-known status. WP-Cron depends on site traffic and hosting; it is not a continuous monitor.

Pause stops future reports without deleting records already shared. Forget requests deletion of the remote installation entry and history, retrying deletion if delivery fails. Records automatically expire after 90 days without a check-in. The plugin does not send page content, files, database exports, administrator email addresses, or raw IP addresses. Server rate limiting keeps a keyed IP hash for up to 24 hours; ordinary hosting access logs are governed separately by the privacy policy.

Review the fields and consent before enabling reporting. Read https://jeetsanwal.in/privacy for the reporting endpoint, retention, and deletion details. Reporting does not authorize remote control, automatic updates, or access to the website.

== Changelog ==

= 1.0.4 =
* Updated the product display name to Jeet Sanwal Return Inspection Checklist and retained the Jeet Sanwal author website.
* Added voluntary installation/status reports with per-product consent OFF by default, pause/forget controls, and documented fields and retention.
* Preserved existing identifiers, stored data, permissions, and earlier release history.


= 1.0.3 =
* Preserved literal backslashes and quotes in the first inspection record on legacy order storage; existing records and HPOS retain their normal format.

= 1.0.2 =
* Clarified plugin-specific setup steps and the public or private workflow.
* Added a complete US English installation and update guide; kept documented permissions, limits and manual rollback steps.


= 1.0.1 =
* Clarified the manual replacement, verification and rollback workflow, with direct author support details.
* Rechecked package metadata, source/archive consistency and existing isolated regressions.


= 1.0.0 =
* Initial focused release with explicit permissions, scope and limits.

Created by Jeet Sanwal — https://jeetsanwal.in
