Rename SerialNumberFormatter to SerialNumberService for consistency

This commit is contained in:
Darko Gjorgjijoski
2026-04-03 16:09:22 +02:00
parent e208e3ba56
commit e0b8b86e06
14 changed files with 26 additions and 29 deletions

View File

@@ -30,7 +30,7 @@ class EstimateService
$estimate = Estimate::create($data);
$estimate->unique_hash = Hashids::connection(Estimate::class)->encode($estimate->id);
$serial = (new SerialNumberFormatter)
$serial = (new SerialNumberService)
->setModel($estimate)
->setCompany($estimate->company_id)
->setCustomer($estimate->customer_id)
@@ -65,7 +65,7 @@ class EstimateService
{
$data = $request->getEstimatePayload();
$serial = (new SerialNumberFormatter)
$serial = (new SerialNumberService)
->setModel($estimate)
->setCompany($estimate->company_id)
->setCustomer($request->customer_id)