     @bookings.forEach (b)=>
       return unless b.canBook
       return if b.booked is b.original
-      @reservations.save( {
-        date: b.toISOString()
+      owner = lodash.find(@owners, (user)=> user._id is @ownerId )
+      Bookings.insert {
+        date: b.toDate()
         owner: @ownerId
         #'_id': b.id
-      }).then (data)=>
+      }, (err, data)=>
+        if err
+          console.error err
+          @Notification.error "Une erreur est survenue lors de l'ajout"
+          return
+
         b.id = data[0]._id
-        b.owners.push {owner: @ownerId, color: @owners[@ownerId], id: b.id }
+        b.owners = [] unless b.owners
+        b.owners.push {owner: owner, id: b.id }
         @initDay b
         @updateDay b
-      .catch (err)=>
-        console.error err
-        @Notification.error "Une erreur est survenue"
+        @Notification.success "Réservations ajoutées !"
+
     @cancelations.forEach (c)=>
-      id = _.find(c.owners, (o)=> o.owner is @ownerId)?.id
+      id = _.find(c.owners, (o)=> o.owner._id is @ownerId)?.id
       return unless id
-      @reservations.remove(id).then (data)=>
+      Bookings.remove id, (err, data)=>
+        if err
+          console.error err
+          @Notification.error "Une erreur est survenue lors de la suppression"
+          return
+
         lodash.remove c.owners, (o)-> o.id is id
         @initDay c
         @updateDay c
-      .catch (err)->
-        console.error err
+        @Notification.success "Réservations supprimées !"
     @bookings = []
     @cancelations = []
     @selections = []

  o

class Calendar
  constructor: ($scope, $reactive, $meteor, @Notification)->
    $reactive(@).attach $scope

    console.group "Calendar Controller"

    @ownerId = Meteor.user()?._id ? 2
    @date = moment.utc().startOf('d')
    @weeks = []
    @_weeks = []
    @selections = []
    @removables = []
    @cancelations = []
    @owners = {}
    for i in [1..6]
      @owners["#{i}"] = randomColor()

    @bookings = []
    #@helpers(
      #reservations = ->
        #Bookings.find {}
    #)
    #@reservations = @helpers.reservations()

    @reservations = []
    Meteor.subscribe 'bookings',
      onReady: (subscription)=>
        @reservations = $meteor.collection Bookings
        @display()

    labels = moment.weekdays()
    dim = labels.shift()


  display: ->
    @weeks = []
    dates = [
      moment.utc(@date).startOf('month').startOf 'week'
      moment.utc(@date).endOf('month').endOf 'week'
    ]
    @range = moment.range(dates)
    weeks = []

    @range.by 'days', (day)=>
      obj = angular.copy day
      obj.unscoped = !day.isSame @date, 'month'
      obj.owners = @hazBooking day
      @initDay obj
      obj.booked = lodash.any( @bookings, (b)-> b.format('DDMMYY') is day.format('DDMMYY') )
      weeks.push obj
    @_weeks = weeks
    @weeks = lodash.chunk @_weeks, 7
