```ruby
class Day < ActiveRecord::Base
  after_update :create_bookings
  
  private
  def create_bookings
    BookingTemplate.create_booking('day:cash', :amount => cash, :value_date => date)
    BookingTemplate.create_booking('day:card turnover', :amount => card_turnover, :value_date => date)
  end
end
```

Create bookings for credit turnover and expenses in cash up.
user
```ruby
class Day < ActiveRecord::Base
  after_update :create_bookings
  
  private
  def create_bookings
    BookingTemplate.create_booking('day:cash', :amount => cash, :value_date => date)
    BookingTemplate.create_booking('day:card turnover', :amount => card_turnover, :value_date => date)
    BookingTemplate.create_booking('day:expenses', :amount => expenses, :value_date => date)
    BookingTemplate.create_booking('day:credit_turnover', :amount => credit_turnover, :value_date => date)
  end
end
```
assistant