$tax->getRouteKey(), 'key' => [ 'public' => $tax->getPublicKey(), 'route' => $tax->getRouteKey(), ], 'name' => $tax->name, 'percentage' => $tax->percentage, 'description' => $tax->description, 'deleted_at' => $tax->deleted_at, 'url' => [ 'public' => trans_url('invent/'.$tax->getPublicKey()), 'user' => guard_url('invent/tax/'.$tax->getRouteKey()), ], 'status' => trans('app.'.$tax->status), 'created_at' => format_date($tax->created_at), 'updated_at' => format_date($tax->updated_at), ]; } }