belongsTo(Customer::class); } public function formatCreatedAt(): Attribute { return Attribute::make(get: function () { return Carbon::parse($this->created_at)->translatedFormat('d F Y H:i:s'); }); } public function fileAgreementUrl(): Attribute { return Attribute::make(get: function () { return asset($this->file_agreement); }); } }