jeffersongoncalves/filament-erp-stock
Composer 安装命令:
composer require jeffersongoncalves/filament-erp-stock
包简介
Filament v5 panel resources for the Laravel ERP stock module — items, warehouses, stock entries and the perpetual inventory ledger.
README 文档
README
Filament v5 panel resources for the Laravel ERP stock module — items, warehouses, stock entries and the perpetual inventory ledger.
This package is the UI layer for the jeffersongoncalves/laravel-erp-stock domain package
(namespace JeffersonGoncalves\Erp\Stock\). It mirrors the reference
jeffersongoncalves/filament-erp-accounting package.
Installation
composer require jeffersongoncalves/filament-erp-stock
TODO (temporary): Until the domain packages are published on Packagist, the dependency chain is resolved from local path repositories declared in
composer.json. Path repos are not transitive, so the stock, accounting and core packages are all listed:"repositories": [ { "type": "path", "url": "../../laravel/laravel-erp-stock", "options": { "symlink": false } }, { "type": "path", "url": "../../laravel/laravel-erp-accounting", "options": { "symlink": false } }, { "type": "path", "url": "../../laravel/laravel-erp-core", "options": { "symlink": false } } ]Remove this
repositoriesentry once the domain packages are available on Packagist.
Usage
Register the plugin on a Filament panel:
use JeffersonGoncalves\FilamentErp\Stock\FilamentErpStockPlugin; $panel->plugin( FilamentErpStockPlugin::make() ->navigationGroup('ERP — Stock'), );
Resources
| Resource | Purpose |
|---|---|
ItemResource |
Items (UOM, valuation method, batch/serial flags, default warehouse, brand) |
WarehouseResource |
Warehouses (tree via parent, inventory GL account) |
PriceListResource |
Price lists (selling/buying) |
ItemPriceResource |
Item prices |
BatchResource |
Batches |
SerialNoResource |
Serial numbers |
StockEntryResource |
Stock entries (+ Details RM, Submit/Cancel) |
MaterialRequestResource |
Material requests (+ Items RM, Submit/Cancel — no ledger) |
DeliveryNoteResource |
Delivery notes (+ Items RM, Submit/Cancel — outbound + COGS) |
PurchaseReceiptResource |
Purchase receipts (+ Items RM, Submit/Cancel — inbound) |
StockReconciliationResource |
Stock reconciliations (+ Items RM, Submit/Cancel) |
StockLedgerEntryResource |
Read-only perpetual inventory ledger viewer |
BinResource |
Read-only live stock balance (per item/warehouse) |
Transaction resources expose Submit and Cancel record actions that drive the domain document lifecycle. Ledger-posting documents collect the offsetting (counter) GL account in the submit modal; submitting writes the stock ledger entries, updates the bins and posts the balanced general-ledger impact, while cancelling reverses all three.
Widgets
| Widget | Purpose |
|---|---|
StockBalanceWidget |
Total stock value and number of items in stock |
LowStockWidget |
Count of bins at or below the reorder threshold |
Testing
composer test
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-28