         add_defer.resolve(basket)
     , (err) ->
       add_defer.reject(err)
+      # handle item conflict
       if err.status == 409
         # clear the currently cached time date
         halClient.clearCache("time_data")

    Basket: 10
    Checkout: 11
    Slot: 12
  $scope.Route = $rootScope.Route 




    else if ($scope.bb.company.$has('event_groups') && !$scope.bb.current_item.event_group && !$scope.bb.current_item.service && !$scope.bb.current_item.product && !$scope.bb.current_item.deal) or
            ($scope.bb.company.$has('events') && $scope.bb.current_item.event_group && !$scope.bb.current_item.event? && !$scope.bb.current_item.product && !$scope.bb.current_item.deal)
      return if $scope.setPageRoute($rootScope.Route.Event)
      return $scope.showPage('event_list')
    else if ($scope.bb.company.$has('events') && $scope.bb.current_item.event && !$scope.bb.current_item.num_book && (!$scope.bb.current_item.tickets || !$scope.bb.current_item.tickets.qty) && !$scope.bb.current_item.product && !$scope.bb.current_item.deal)
      return $scope.showPage('event')
