style: Laravel Pint 코드 포맷팅 적용
- PSR-12 스타일 가이드 준수 - 302개 파일 스타일 이슈 자동 수정 - 코드 로직 변경 없음 (포맷팅만)
This commit is contained in:
@@ -17,9 +17,9 @@ public function run(): void
|
||||
'code' => 'FINISHED_GOOD',
|
||||
'name' => '완제품',
|
||||
'attributes' => [
|
||||
'is_sellable' => 1,
|
||||
'is_sellable' => 1,
|
||||
'is_purchasable' => 0,
|
||||
'is_producible' => 1,
|
||||
'is_producible' => 1,
|
||||
'is_stock_managed' => 1,
|
||||
],
|
||||
],
|
||||
@@ -27,9 +27,9 @@ public function run(): void
|
||||
'code' => 'SUB_ASSEMBLY',
|
||||
'name' => '서브어셈블리',
|
||||
'attributes' => [
|
||||
'is_sellable' => 0,
|
||||
'is_sellable' => 0,
|
||||
'is_purchasable' => 0,
|
||||
'is_producible' => 1,
|
||||
'is_producible' => 1,
|
||||
'is_stock_managed' => 1,
|
||||
],
|
||||
],
|
||||
@@ -37,9 +37,9 @@ public function run(): void
|
||||
'code' => 'PURCHASED_PART',
|
||||
'name' => '구매부품',
|
||||
'attributes' => [
|
||||
'is_sellable' => 0,
|
||||
'is_sellable' => 0,
|
||||
'is_purchasable' => 1,
|
||||
'is_producible' => 0,
|
||||
'is_producible' => 0,
|
||||
'is_stock_managed' => 1,
|
||||
],
|
||||
],
|
||||
@@ -47,9 +47,9 @@ public function run(): void
|
||||
'code' => 'PHANTOM',
|
||||
'name' => '팬텀(가상)',
|
||||
'attributes' => [
|
||||
'is_sellable' => 0,
|
||||
'is_sellable' => 0,
|
||||
'is_purchasable' => 0,
|
||||
'is_producible' => 1,
|
||||
'is_producible' => 1,
|
||||
'is_stock_managed' => 0,
|
||||
],
|
||||
],
|
||||
@@ -58,16 +58,16 @@ public function run(): void
|
||||
foreach ($profiles as $p) {
|
||||
DB::table('common_codes')->updateOrInsert(
|
||||
[
|
||||
'tenant_id' => $tenantId,
|
||||
'tenant_id' => $tenantId,
|
||||
'code_group' => $group,
|
||||
'code' => $p['code'],
|
||||
'code' => $p['code'],
|
||||
],
|
||||
[
|
||||
'name' => $p['name'],
|
||||
'attributes' => json_encode($p['attributes']),
|
||||
'name' => $p['name'],
|
||||
'attributes' => json_encode($p['attributes']),
|
||||
'description' => '기본 프로필',
|
||||
'is_active' => 1,
|
||||
'sort_order' => 0,
|
||||
'is_active' => 1,
|
||||
'sort_order' => 0,
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user