$status->getRouteKey(), 'key' => [ 'public' => $status->getPublicKey(), 'route' => $status->getRouteKey(), ], 'type' => $status->type, 'name' => $status->name, 'desc' => $status->desc, 'order' => $status->order, 'url' => [ 'public' => trans_url('sale/'.$status->getPublicKey()), 'user' => guard_url('sale/status/'.$status->getRouteKey()), ], 'status' => trans('app.'.$status->status), 'created_at' => format_date($status->created_at), 'updated_at' => format_date($status->updated_at), ]; } }