=== Anbarak Inventory & Profit Reports for WooCommerce ===
Contributors: rezairdev
Plugin URI: https://anbarakwp.ir
Tags: woocommerce, inventory, stock management, reports, expenses
Requires at least: 6.0
Tested up to: 7.0
Stable tag: 1.0.1
Requires PHP: 7.4
Requires Plugins: woocommerce
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Track WooCommerce inventory, operational expenses, sales progress, income, orders, profit reports, and XLSX exports from one admin dashboard.

== Description ==

This is the first version of Anbarak, Please help up improve by submitting a review and support us by giving a ⭐⭐⭐⭐⭐ 

Anbarak Inventory & Profit Reports for WooCommerce adds an inventory and financial operations dashboard to WooCommerce. It helps store managers review stock, update quantities, track buy costs, record in-person sales, submit day-to-day operational expenses, and understand store progress without leaving WordPress admin.

The plugin is built for WooCommerce stores that need a practical back-office view of products, orders, income, costs, profit, expenses, and reports. It supports both RTL and LTR admin interfaces and includes Jalali date support for Persian-language stores.

= Who this plugin is for =

Anbarak is useful for WooCommerce stores that need more operational visibility than the default product and order screens provide. It is especially helpful when you need to check inventory often, keep product cost data close to orders, record shop-floor sales, follow sales progression, submit operational expenses, or export store data for review.

= Common use cases =

* Review WooCommerce products, variations, SKUs, stock quantities, sale prices, and buy costs in one inventory table
* Update stock quantities while keeping WooCommerce inventory data in sync
* Track product buy costs so profit reports can compare sales against costs
* Record in-person sales for stores that sell both online and offline
* Submit day-to-day expenses such as packaging, operations, shipping-related costs, or other store costs
* Review expense distribution by category to understand where store costs are going
* Compare sales, income, orders, expenses, gross profit, and net profit from inside WordPress admin
* Track sales progression over time with useful operational reports
* Use simple reports for basic accounting review and day-to-day store decisions
* Export inventory, order, expense, and report data to XLSX files for basic accounting or operational review
* Review inventory, sales, expenses, and reports from a single WooCommerce admin area

= Main features =

* Inventory table for WooCommerce products and variations
* Stock quantity management with WooCommerce stock sync
* Buy price and sale price visibility
* Customizable product columns
* Low-stock and out-of-stock visibility
* Demand-based low-stock and out-of-stock notifications
* Order profit calculation based on product costs
* In-person sales recording alongside online WooCommerce orders
* Expense tracking with categories and tags
* Sales, expense, and profit reports
* XLSX exports for operational and accounting review
* Full RTL/LTR admin support And Jalali Date.
* Dark mode support.
* WooCommerce High-Performance Order Storage (HPOS) compatibility

= Inventory management =

Use Anbarak to review products, stock levels, SKUs, prices, and costs in one place. The inventory screen is designed for day-to-day product operations and helps store teams keep WooCommerce stock data up to date.
Demand notifications highlight high-demand products with low or no stock. 

= Orders and sales =

Anbarak can show profit information for orders by comparing sell prices with stored buy costs. It also includes an in-person sales workflow for shops that sell through both WooCommerce and offline channels.

= Expenses and reports =

Record day-to-day business expenses, group them with tags, and review expense distribution by category. Reports help you compare sales, income, order activity, costs, gross profit, net profit, and store performance over time, making Anbarak useful for basic accounting review and tracking sales progression inside WordPress.

= Admin workflow =

Anbarak keeps inventory, sales, expenses, and reports inside the WordPress admin area so store owners can review daily operations without switching between separate spreadsheets or tools.

= RTL, LTR, and Jalali dates =

Anbarak supports right-to-left and left-to-right admin layouts. Persian stores can use Jalali dates throughout the plugin's admin workflows.


= 👑 PRO Version Features =

* Multi-warehouse stock management with default warehouse support and designated warehouse operators
* Multi-location product support
* Branch management and branch salesperson definition
* Accurate stock management using FIFO
* Comprehensive accounting features including bank accounts, loans, payment schedules, installments, and more
* Advanced manual order creation dialog
* Advanced reporting with summary KPIs, cash flow, expense tracking, sales channel analysis, and more
* Product serial number and barcode support
* Product expiry tracking
* Customer and party management with custom party types and roles
* Best-selling product reports
* Top customer ranking reports
* Export to Excel
* Customizable order receipt print settings and barcode scanning
* Role-based access control with separate login dashboards for inventory, orders, warehouses, parties, finance, reports, and settings
* And many more...

== Installation ==

= From WordPress admin =

1. Make sure WooCommerce is installed and activated.
2. Go to `Plugins > Add New` in your WordPress dashboard.
3. Search for `Anbarak Inventory & Profit Reports for WooCommerce`.
4. Install the plugin when it appears.
5. Activate the plugin from the Plugins screen.
6. Go to "After activation" below.

= Manually =

1. Download the plugin ZIP file.
2. Go to `Plugins > Add New > Upload Plugin`.
3. Upload the ZIP file and click `Install Now`.
4. Activate the plugin from the Plugins screen.
5. Go to "After activation" below.

= Manual FTP upload =

1. Make sure WooCommerce is installed and activated.
2. Upload the `anbarak` folder to `/wp-content/plugins/`.
3. Activate the plugin through the `Plugins` menu in WordPress.
4. Go to "After activation" below.

= After activation =

1. Open the Anbarak menu in WordPress admin.
2. Review the inventory table and make sure your WooCommerce products are visible.
3. Add or review product buy costs if you want profit reports to be accurate.
4. Review the settings before using the plugin for daily store operations.
5. Use the reports and export screens as needed for operational review.

== Frequently Asked Questions ==

= Does the plugin require WooCommerce? =

Yes. Anbarak is a WooCommerce extension and requires WooCommerce to be installed and active.

= Is Anbarak compatible with WooCommerce HPOS? =

Yes. Anbarak declares compatibility with WooCommerce High-Performance Order Storage and uses HPOS-compatible order metadata helpers.

= Can I manage variable products? =

Yes. The inventory workflow supports WooCommerce products and variations.

= Can I record in-person sales? =

Yes. Anbarak includes an in-person sales workflow so you can record offline sales beside your online WooCommerce orders.

= How does profit calculation work? =

Anbarak compares order sales values with product buy costs stored in the plugin. Profit reports depend on accurate product cost data.

= Can I export data? =

Yes. Anbarak includes XLSX exports for reviewing inventory, orders, expenses, and reports outside WordPress.

= Does Anbarak support Persian stores? =

Yes. The plugin supports RTL layouts and Jalali/Persian dates.

= Does Anbarak send store data to an external service? =

No. Anbarak is designed to run inside your WordPress admin and does not send inventory, order, or expense data to an external service.

= Is there a Pro version? =

Yes. Anbarak Pro is full feature plugin for managing your store (ERP). Pro version includes additional features such as multi-warehouse and multi-location, advanced reports, barcode workflows, and accounting tools and more.

== Screenshots ==

1. Inventory management dashboard
2. Create order manually (in-person sell)
3. Sales and KPI reports
4. Submitting an expense
5. Expenses reports and distribution.
6. Order lists with profit.

== Changelog ==

= 1.0.0 =
* Initial release.
* Added WooCommerce inventory and stock management.
* Added product cost and order profit tools.
* Added in-person sales recording.
* Added expense tracking with tags.
* Added sales, expense, and profit reports.
* Added XLSX exports.
* Added plugin settings.
* Added RTL/LTR support and Jalali dates.
* Added WooCommerce HPOS compatibility.
* Added low-stock notifications

== Upgrade Notice ==

= 1.0.0 =
Initial release.

= Bundled third-party libraries =

The following third-party libraries are bundled and loaded locally:

* Apache ECharts 6.1.0 - charting library, Apache 2.0 License.
* MicroModal - modal dialog library, MIT License.
* Persian Date / Persian Datepicker - Jalali calendar support, MIT License.
* Popper.js 2.11.8 - tooltip and popover positioning, MIT License.
* Tippy.js - tooltip library, MIT License.
