improve stracture
This commit is contained in:
@@ -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}",
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user