improve stracture

This commit is contained in:
2025-07-22 16:32:10 +03:30
parent 0c3802fd9e
commit 57d72cb9c3
3 changed files with 31 additions and 4 deletions

View File

@@ -123,7 +123,7 @@ class Accident extends Model
protected function link(): Attribute
{
return Attribute::make(
get: fn (string $value) => env("PAYMENT_LINK")."/#/pay/".explode("/", $this->bill_code)[0]."/{$this->final_amount}",
get: fn ($value) => env("PAYMENT_LINK")."/#/pay/".explode("/", $this->bill_code)[0]."/{$this->final_amount}",
);
}
}