All checks were successful
ERP-Deploy-Demo / deploy-demo (push) Successful in 1m8s
1. 新增 AccountPayable (應付帳款) 模組,包含 Migration、Model、Service 與 Controller 2. 修改 GoodsReceipt (進貨單) 流程,在確認進貨時自動產生對應的應付帳款單 (AP-YYYYMMDD-XX) 3. 實作應付帳款詳細頁面 (Show.tsx),包含發票登記與標記付款功能 4. 修正應付帳款 Show 頁面的排版,將發票資訊套用標準的綠色背景區塊,並調整按鈕位置 5. 更新相關的 Service Provider 與 Routes
28 lines
831 B
PHP
28 lines
831 B
PHP
<?php
|
|
|
|
namespace App\Modules\Inventory;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
use App\Modules\Inventory\Contracts\InventoryServiceInterface;
|
|
use App\Modules\Inventory\Contracts\ProductServiceInterface;
|
|
use App\Modules\Inventory\Services\InventoryService;
|
|
use App\Modules\Inventory\Services\ProductService;
|
|
|
|
class InventoryServiceProvider extends ServiceProvider
|
|
{
|
|
public function register(): void
|
|
{
|
|
$this->app->bind(InventoryServiceInterface::class, InventoryService::class);
|
|
$this->app->bind(ProductServiceInterface::class, ProductService::class);
|
|
$this->app->bind(
|
|
\App\Modules\Inventory\Contracts\GoodsReceiptServiceInterface::class,
|
|
\App\Modules\Inventory\Services\GoodsReceiptService::class
|
|
);
|
|
}
|
|
|
|
public function boot(): void
|
|
{
|
|
//
|
|
}
|
|
}
|