jeffersongoncalves/laravel-erp-buying
Composer 安装命令:
composer require jeffersongoncalves/laravel-erp-buying
包简介
ERP buying — suppliers, RFQs, supplier quotations and purchase orders for the Laravel ERP ecosystem
README 文档
README
ERP buying — suppliers, RFQs, supplier quotations and purchase orders for the Laravel ERP ecosystem.
This package is the buying/procurement module of an ERPNext-native rebuild. It builds on
laravel-erp-core,
laravel-erp-accounting and
laravel-erp-stock.
Features
- Masters — supplier groups (hierarchical) and suppliers, with polymorphic addresses and contacts from core.
- Request for Quotation — submittable RFQs with item lines and invited suppliers.
- Supplier Quotation — submittable quotations with item lines and live totals.
- Purchase Order — submittable orders with per-received / per-billed tracking and order status.
- Conversions — turn a Purchase Order into a stock Purchase Receipt or an accounting Purchase Invoice, and turn a Supplier Quotation into a Purchase Order.
Buying documents are commitments: they follow the ERPNext submit/cancel lifecycle but do not post to the general or stock ledger themselves. Inventory and accounting impact is realised only when the downstream Purchase Receipt or Purchase Invoice is submitted.
Installation
composer require jeffersongoncalves/laravel-erp-buying
Publish and run the migrations:
php artisan vendor:publish --tag="erp-buying-migrations"
php artisan migrate
Optionally publish the config:
php artisan vendor:publish --tag="erp-buying-config"
Conversions
use JeffersonGoncalves\Erp\Buying\Services\PurchaseOrderService; use JeffersonGoncalves\Erp\Buying\Services\SupplierQuotationService; $receipt = app(PurchaseOrderService::class)->createPurchaseReceipt($purchaseOrder); $invoice = app(PurchaseOrderService::class)->createPurchaseInvoice($purchaseOrder); $order = app(SupplierQuotationService::class)->createPurchaseOrder($supplierQuotation);
Testing
composer test
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-28