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

@@ -30,9 +30,13 @@ class NumberingRule extends Model
// SoftDeletes 없음 (DB에 deleted_at 컬럼 없음) → Hard Delete
const DOC_QUOTE = 'quote';
const DOC_ORDER = 'order';
const DOC_SALE = 'sale';
const DOC_WORK_ORDER = 'work_order';
const DOC_MATERIAL_RECEIPT = 'material_receipt';
public static function documentTypes(): array
@@ -68,8 +72,8 @@ public function getPreviewAttribute(): string
'static' => $segment['value'] ?? '',
'separator' => $segment['value'] ?? '',
'date' => now()->format($segment['format'] ?? 'ymd'),
'param' => $segment['default'] ?? '{' . ($segment['key'] ?? '?') . '}',
'mapping' => $segment['default'] ?? '{' . ($segment['key'] ?? '?') . '}',
'param' => $segment['default'] ?? '{'.($segment['key'] ?? '?').'}',
'mapping' => $segment['default'] ?? '{'.($segment['key'] ?? '?').'}',
'sequence' => str_pad('1', $this->sequence_padding, '0', STR_PAD_LEFT),
default => '',
};