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

@@ -18,7 +18,9 @@ class BankTransaction extends Model
// 거래 유형 상수
public const TYPE_DEPOSIT = 'deposit'; // 입금
public const TYPE_WITHDRAWAL = 'withdrawal'; // 출금
public const TYPE_TRANSFER = 'transfer'; // 이체
protected $fillable = [
@@ -106,7 +108,8 @@ public function getIsWithdrawalAttribute(): bool
public function getFormattedAmountAttribute(): string
{
$prefix = $this->is_deposit ? '+' : '-';
return $prefix . number_format(abs($this->amount)) . '원';
return $prefix.number_format(abs($this->amount)).'원';
}
/**
@@ -114,7 +117,7 @@ public function getFormattedAmountAttribute(): string
*/
public function getFormattedBalanceAfterAttribute(): string
{
return number_format($this->balance_after) . '원';
return number_format($this->balance_after).'원';
}
/**