style: Pint 포맷팅 적용
This commit is contained in:
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user