$quote->getRouteKey(), 'key' => [ 'public' => $quote->getPublicKey(), 'route' => $quote->getRouteKey(), ], 'id' => $quote->id, 'project_id' => $quote->project_id, 'agent_id' => $quote->agent_id, 'status' => $quote->status, 'price' => $quote->price, 'details' => $quote->details, 'created_at' => $quote->created_at, 'updated_at' => $quote->updated_at, 'deleted_at' => $quote->deleted_at, 'url' => [ 'public' => trans_url('quote/'.$quote->getPublicKey()), 'user' => guard_url('quote/quote/'.$quote->getRouteKey()), ], 'status' => trans('app.'.$quote->status), 'created_at' => format_date($quote->created_at), 'updated_at' => format_date($quote->updated_at), ]; } }