     @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()

    , (d)-> d.valueOf()
    f(@date)

  findResaOn: (day)->
    Bookings.find {
        date: day.toDate()
      }, {
        fields: {'_id':1, date: 1, color: 1, owner: 1}
      }
  hazBooking: (day)->
    return [] if @reservations.length is 0
    @findResaOn(day)
    .map (r)=>
      { owner: lodash.find(@owners, (u)-> u._id is r.owner), id: r._id }

  cancelEdition: ->
    @editing = false
