diff --git a/app/Database/dbmsv3_test1.sql b/app/Database/dbmsv3_test1.sql
index 38834c6..d4e6311 100644
--- a/app/Database/dbmsv3_test1.sql
+++ b/app/Database/dbmsv3_test1.sql
@@ -742,4 +742,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
--- Dump completed on 2025-10-30 18:57:16
+-- Dump completed on 2025-10-30 19:06:08
diff --git a/app/Entities/Part/DISKEntity.php b/app/Entities/Part/DISKEntity.php
index 9fa437e..3530f2f 100644
--- a/app/Entities/Part/DISKEntity.php
+++ b/app/Entities/Part/DISKEntity.php
@@ -24,6 +24,6 @@ class DISKEntity extends PartEntity
}
final public function getAvailable(): int
{
- return $this->getStock() - $this->getUsed();
+ return $this->getStock() - $this->getUsed() - $this->getFormat();
}
}
diff --git a/app/Views/cells/part/disk_stock.php b/app/Views/cells/part/disk_stock.php
index 6dd2e77..b5d3650 100644
--- a/app/Views/cells/part/disk_stock.php
+++ b/app/Views/cells/part/disk_stock.php
@@ -1,7 +1,8 @@
| 항목 |
- 갯수 |
+ 사용수 |
+ 재고수 |
포맷대기 |
@@ -21,6 +22,7 @@
);
?>
+ = $entity->getUsed() ?> |
= $entity->getAvailable() ?> |
= $partCellDatas['service']->getHelper()->getFieldView('format', $entity->format, $partCellDatas) ?> |
diff --git a/app/Views/cells/part/ram_stock.php b/app/Views/cells/part/ram_stock.php
index c49f7e1..9a09410 100644
--- a/app/Views/cells/part/ram_stock.php
+++ b/app/Views/cells/part/ram_stock.php
@@ -1,7 +1,8 @@
| 항목 |
- 갯수 |
+ 사용수 |
+ 재고수 |
@@ -20,6 +21,7 @@
);
?>
+ = $entity->getUsed() ?> |
= $entity->getAvailable() ?> |