style: Laravel Pint 코드 포맷팅 적용
- PSR-12 스타일 가이드 준수 - 302개 파일 스타일 이슈 자동 수정 - 코드 로직 변경 없음 (포맷팅만)
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
class Estimate extends Model
|
||||
{
|
||||
use HasFactory, SoftDeletes, BelongsToTenant;
|
||||
use BelongsToTenant, HasFactory, SoftDeletes;
|
||||
|
||||
protected $fillable = [
|
||||
'tenant_id',
|
||||
@@ -75,7 +75,7 @@ public static function generateEstimateNo(int $tenantId): string
|
||||
|
||||
$sequence = $lastEstimate ? (int) substr($lastEstimate->estimate_no, -3) + 1 : 1;
|
||||
|
||||
return $prefix . $date . str_pad($sequence, 3, '0', STR_PAD_LEFT);
|
||||
return $prefix.$date.str_pad($sequence, 3, '0', STR_PAD_LEFT);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -102,6 +102,6 @@ public function scopeApproved($query)
|
||||
public function scopeExpired($query)
|
||||
{
|
||||
return $query->whereNotNull('valid_until')
|
||||
->where('valid_until', '<', now());
|
||||
->where('valid_until', '<', now());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user