1. 修復倉庫統計數據加總與樣式。 2. 修正可用庫存計算邏輯(排除不可銷售倉庫)。 3. 撥補單商品列表加入批號與效期顯示。 4. 修正撥補單儲存邏輯以支援精確批號轉移。 5. 整合 FEATURES.md 至 README.md。
28 lines
675 B
PHP
28 lines
675 B
PHP
<?php
|
|
|
|
namespace App\Modules\Procurement\Contracts;
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
interface ProcurementServiceInterface
|
|
{
|
|
/**
|
|
* Get purchase orders within a date range.
|
|
*
|
|
* @param string $start
|
|
* @param string $end
|
|
* @param array $statuses
|
|
* @return Collection
|
|
*/
|
|
public function getPurchaseOrdersByDate(string $start, string $end, array $statuses = ['received', 'completed']): Collection;
|
|
|
|
/**
|
|
* Get purchase orders by multiple IDs.
|
|
*
|
|
* @param array $ids
|
|
* @param array $with
|
|
* @return Collection
|
|
*/
|
|
public function getPurchaseOrdersByIds(array $ids, array $with = []): Collection;
|
|
}
|