style: Pint 포맷팅 적용

This commit is contained in:
김보곤
2026-02-25 11:45:01 +09:00
parent 68b1622a4e
commit 9a7c548246
199 changed files with 1420 additions and 1083 deletions

View File

@@ -57,7 +57,7 @@ public function getItemDetail(int $itemId): array
// BOM 1depth: 직접 연결된 자식 품목만
$bomChildren = [];
$bomData = $item->bom ?? [];
if (!empty($bomData)) {
if (! empty($bomData)) {
$childIds = array_column($bomData, 'child_item_id');
$children = Item::withoutGlobalScopes()
->where('tenant_id', $tenantId)
@@ -99,7 +99,7 @@ private function buildBomNode(Item $item, int $depth, int $maxDepth, array $visi
$children = [];
$bomData = $item->bom ?? [];
if (!empty($bomData)) {
if (! empty($bomData)) {
$childIds = array_column($bomData, 'child_item_id');
$childItems = Item::withoutGlobalScopes()
->where('tenant_id', session('selected_tenant_id'))