$office->getRouteKey(), 'key' => [ 'public' => $office->getPublicKey(), 'route' => $office->getRouteKey(), ], 'rtknr' => $office->rtknr, 'name' => $office->name, 'street' => $office->street, 'address' => $office->address, 'place' => $office->place, 'pincode' => $office->pincode, 'mobile' => $office->mobile, 'phone' => $office->phone, 'fax' => $office->fax, 'email' => $office->email, 'website' => $office->website, 'logo' => $office->logo, 'lat' => $office->lat, 'lng' => $office->lng, 'url' => [ 'public' => trans_url('raisen/'.$office->getPublicKey()), 'user' => guard_url('raisen/office/'.$office->getRouteKey()), ], 'status' => trans('app.'.$office->status), 'created_at' => format_date($office->created_at), 'updated_at' => format_date($office->updated_at), ]; } }