style: Pint 포맷팅 적용
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace App\Models\Sales;
|
||||
|
||||
use App\Models\Sales\SalesCommission;
|
||||
use App\Models\User;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
@@ -132,7 +131,7 @@ public static function generatePartnerCode(): string
|
||||
|
||||
$sequence = $lastPartner ? (int) substr($lastPartner->partner_code, -4) + 1 : 1;
|
||||
|
||||
return $prefix . $year . str_pad($sequence, 4, '0', STR_PAD_LEFT);
|
||||
return $prefix.$year.str_pad($sequence, 4, '0', STR_PAD_LEFT);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user