feat: 修正庫存與撥補單邏輯並整合文件
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 53s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped

1. 修復倉庫統計數據加總與樣式。
2. 修正可用庫存計算邏輯(排除不可銷售倉庫)。
3. 撥補單商品列表加入批號與效期顯示。
4. 修正撥補單儲存邏輯以支援精確批號轉移。
5. 整合 FEATURES.md 至 README.md。
This commit is contained in:
2026-01-26 14:59:24 +08:00
parent b0848a6bb8
commit 106de4e945
81 changed files with 4118 additions and 1023 deletions

View File

@@ -16,10 +16,20 @@ class User extends Authenticatable
use HasFactory, Notifiable, HasRoles, LogsActivity;
/**
* The attributes that are mass assignable.
* 可批量賦值的屬性。
*
* @var list<string>
*/
/**
* 建立模型的新工廠實例。
*
* @return \Illuminate\Database\Eloquent\Factories\Factory
*/
protected static function newFactory()
{
return \Database\Factories\UserFactory::new();
}
protected $fillable = [
'name',
'email',
@@ -28,7 +38,7 @@ class User extends Authenticatable
];
/**
* The attributes that should be hidden for serialization.
* 序列化時應隱藏的屬性。
*
* @var list<string>
*/
@@ -38,7 +48,7 @@ class User extends Authenticatable
];
/**
* Get the attributes that should be cast.
* 取得應進行轉換的屬性。
*
* @return array<string, string>
*/