dorsale 2.2.5 → 2.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/dorsale/billing_machine/quotations_controller.rb +2 -3
  3. data/app/models/dorsale/billing_machine/quotation.rb +1 -3
  4. data/app/views/dorsale/billing_machine/quotations/show.html.slim +1 -1
  5. data/config/routes.rb +1 -1
  6. data/lib/dorsale/version.rb +1 -1
  7. data/spec/dummy/db/development.sqlite3 +0 -0
  8. data/spec/dummy/db/test.sqlite3 +0 -0
  9. data/spec/dummy/log/development.log +1240 -0
  10. data/spec/dummy/log/test.log +2565 -0
  11. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/1sZImLui6AcEoVGfd2s15GQ5ZLMjSzIuzqW7sSFz8Wo.cache +1 -0
  12. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/LFhciyTYCGcofWyziaBGuMvDmbMZyBfq2RwOWvSredw.cache +1 -0
  13. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/yOLqNhbvXNnbH47usKFZ3b-9boxXr_j89v7egB070oQ.cache +1 -0
  14. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/-3pWRQk-b3TavGMG_oWIw8yvceTv0N5Wvh5FbYlxPrs.cache +0 -0
  15. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/-xFzipDzEGSjeiA5sXmrEgdXq0qzTI-9SafVK6EiGLM.cache +2 -0
  16. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/0YWC9zSZNGN566OL4W7d_cGoyqdPLFb_FUQP058dEYM.cache +0 -0
  17. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/1sZImLui6AcEoVGfd2s15GQ5ZLMjSzIuzqW7sSFz8Wo.cache +1 -0
  18. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/8Nr83BrtiV8lnhnYYmGovepft7poIaB_XUbU5T14uvk.cache +0 -0
  19. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/BoTkQY-2LlshRj_u0eZLAQ8paTGk0fEydSMj016Yduk.cache +0 -0
  20. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/FYD4d1PtA17Rths2oGSH-vRqXgYCiL2U-LkeRiwE5QU.cache +1 -0
  21. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/FwmIEn3-oSC9PTRQL0EUnT3CrCJ0yK9Wibm5ahGgG0U.cache +1 -0
  22. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/HDpsT0MyMK5-ePDwURhdHjZFGZhEDUWZHmhrx5VylZA.cache +0 -0
  23. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/K4G47Fk0PQl5FhrOpXdT-R0JrZBbAS741GfpN--B79s.cache +1 -0
  24. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/KCDu_Vi0unecNRffNgugjzMXEK9Rlh7MVf1-2pGtfyo.cache +0 -0
  25. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/KQ7cSPt-VYvsoVRxpcOOJZKSTFBWifRP5dfCbVYwyvI.cache +0 -0
  26. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/KmW6ou8X4JKYLMLNJ1zfnhnu_UCR0i-kfiaHKxA3_IE.cache +0 -0
  27. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/LFhciyTYCGcofWyziaBGuMvDmbMZyBfq2RwOWvSredw.cache +1 -0
  28. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/LoUNX-nqXEX7jCUZfnQZ0Bds_v_dKpl6w_ujvux9f94.cache +0 -0
  29. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/SU1P3gch2VfNIiGAIg3A2tQ7fOyV1AJez4V_2badf1s.cache +1 -0
  30. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/TuMas7lL_CoVhIyDiR1c1UzS5VIHwo6VH0a7nKCnUI0.cache +1 -0
  31. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/W61Nxx1WLBVCmRb21migFSqGPlrRCivgHjJQMFTBLGc.cache +1 -0
  32. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/X39J6qpr0X-4b5JvmknAbmqzF1kOKnBeppxBXva0mUA.cache +3 -0
  33. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ZhnoHvzhcihFZmxk_GdzhFWO-AOmMG18jpNWKTty5tQ.cache +0 -0
  34. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/_WIx6MHfW34hDKLvDcrfhZ6B9txk5shi6tTUYnHg5aE.cache +0 -0
  35. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/_dmP_fNIKcpWNlCUXYXEsvFpWcxVszcilVz2ANTepjI.cache +1 -0
  36. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/a3i8UhNe40ETW5UkoQepVxlkv9bcqxj5akAnmxGwGvU.cache +0 -0
  37. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/aB7TmUAdLO9vQNX6uhZFigfacgtqt3hNgCX4vGvTrng.cache +89 -0
  38. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/aRhKfHl3RzCW_nRGPsKn3YRlYrgyzFivoY-LFnfWTx0.cache +0 -0
  39. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/hLfDITJO56z3DKvZtDwl55r9vYltVM89vEgcaMaLQ6k.cache +0 -0
  40. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/hvToGIwTAvgxs7_ub7XcCqGMOhH6-6C7mV5vD8BSFqA.cache +0 -0
  41. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/lVQgyvnRMYoU3WGhoi1FuEcmc4w7XXD5rMdKWm9LjCE.cache +1 -0
  42. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/tOCD7YQuUDw4pOJmxqy-4xx2finHSNjklTY20Nq7lwM.cache +1 -0
  43. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/vGf9sdWwxQnTDawgGNVWpnGcxKkaf5TxUrg6z1gqfKA.cache +1 -0
  44. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/yOLqNhbvXNnbH47usKFZ3b-9boxXr_j89v7egB070oQ.cache +1 -0
  45. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/zPyCtBFrOAfFynPnjrqLiX3aIN9pJqV-JGTH8dijC0w.cache +1 -0
  46. data/spec/dummy/tmp/pids/server.pid +1 -1
  47. data/spec/models/dorsale/billing_machine/quotation_spec.rb +6 -6
  48. data/spec/routing/dorsale/billing_machine/quotations_routing_spec.rb +1 -1
  49. metadata +60 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e4c5d969d5dd0d7e460f27eced8b5c00d13bff7e
4
- data.tar.gz: 31cf802a22ac7f4c47ae0562457a58a0ce225038
3
+ metadata.gz: 24e6674cbd5f8fe69c85577957e422d688d62ae6
4
+ data.tar.gz: 50e6fc35845488d569d0cf84f231081f190f9b50
5
5
  SHA512:
6
- metadata.gz: 08de53be846451a621d3271667e9864fb92a3bef80456747413a9f4ea5d4d0d804ef2986721a0a807c7b14fcc554970ef0b8c4af7225d5214af34835d1f35957
7
- data.tar.gz: 956bb744de266e9a4ba6861d392b4ecc3b8af4e089065dec7d3c817222da8e3865a6be468cd7b24be49bcd9f968620f01f29cab0256734c6cfc6f0f42693bbf8
6
+ metadata.gz: ed476f85080b92db34deeac474511e871fad031bfc9ca4dcfb2bf11e2bdaa383629d34b0b75174be6c24af4a7129b21004b0cc90872906dea58f4ee83f02df12
7
+ data.tar.gz: 92254eb7ee9c90f3c850d3323d029c541b8465d9e1198c2c77da0a85e43d9e5490e0a9a1129a54d10a8437410245fccccaa7040df9c43fbdea229f677886a150
@@ -152,10 +152,9 @@ module Dorsale
152
152
  authorize! :read, @quotation
153
153
  authorize! :create, ::Dorsale::BillingMachine::Invoice
154
154
 
155
- new_invoice = @quotation.create_invoice!
156
- flash[:notice] = t("messages.quotations.create_invoice_ok")
155
+ @invoice = @quotation.to_new_invoice
157
156
 
158
- redirect_to dorsale.edit_billing_machine_invoice_path(new_invoice)
157
+ render "dorsale/billing_machine/invoices/new"
159
158
  end
160
159
 
161
160
  private
@@ -155,7 +155,7 @@ module Dorsale
155
155
  new_quotation
156
156
  end
157
157
 
158
- def create_invoice!
158
+ def to_new_invoice
159
159
  new_invoice = Dorsale::BillingMachine::Invoice.new
160
160
 
161
161
  self.attributes.each do |k, v|
@@ -181,8 +181,6 @@ module Dorsale
181
181
 
182
182
  new_invoice.date = Date.today
183
183
 
184
- new_invoice.save!
185
-
186
184
  new_invoice
187
185
  end
188
186
 
@@ -7,7 +7,7 @@
7
7
  - if can?(:copy, @quotation)
8
8
  = copy_button dorsale.copy_billing_machine_quotation_path(@quotation), method: :post, confirm: true
9
9
  - if can?(:create, @quotation)
10
- = dorsale_button dorsale.create_invoice_billing_machine_quotation_path(@quotation), method: :post, action: :create_invoice, confirm: true, icon: :magic
10
+ = dorsale_button dorsale.create_invoice_billing_machine_quotation_path(@quotation), action: :create_invoice, icon: :magic
11
11
 
12
12
  = render "dorsale/billing_machine/invoices/details", document: @quotation
13
13
 
@@ -42,7 +42,7 @@ Dorsale::Engine.routes.draw do
42
42
 
43
43
  resources :quotations do
44
44
  post :copy, on: :member
45
- post :create_invoice, on: :member
45
+ get :create_invoice, on: :member
46
46
  end
47
47
  end
48
48
 
@@ -1,3 +1,3 @@
1
1
  module Dorsale
2
- VERSION = "2.2.5"
2
+ VERSION = "2.2.6"
3
3
  end
Binary file
@@ -87575,3 +87575,1243 @@ Started GET "/assets/application.self.js?body=1" for ::1 at 2015-12-07 11:08:10
87575
87575
 
87576
87576
 
87577
87577
  Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-12-07 11:08:10 +0100
87578
+
87579
+
87580
+ Started GET "/" for ::1 at 2015-12-08 10:53:14 +0100
87581
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
87582
+ Processing by HomeController#home as HTML
87583
+ Rendered home/home.html.slim within layouts/application (18.0ms)
87584
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.3ms)
87585
+ Completed 200 OK in 704ms (Views: 691.9ms | ActiveRecord: 0.0ms)
87586
+
87587
+
87588
+ Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-12-08 10:53:15 +0100
87589
+
87590
+
87591
+ Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-12-08 10:53:15 +0100
87592
+
87593
+
87594
+ Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-12-08 10:53:15 +0100
87595
+
87596
+
87597
+ Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-12-08 10:53:15 +0100
87598
+
87599
+
87600
+ Started GET "/assets/application.self.css?body=1" for ::1 at 2015-12-08 10:53:15 +0100
87601
+
87602
+
87603
+ Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-12-08 10:53:15 +0100
87604
+
87605
+
87606
+ Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-12-08 10:53:15 +0100
87607
+
87608
+
87609
+ Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-12-08 10:53:15 +0100
87610
+
87611
+
87612
+ Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-12-08 10:53:15 +0100
87613
+
87614
+
87615
+ Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-12-08 10:53:15 +0100
87616
+
87617
+
87618
+ Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-12-08 10:53:15 +0100
87619
+
87620
+
87621
+ Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-12-08 10:53:15 +0100
87622
+
87623
+
87624
+ Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-12-08 10:53:15 +0100
87625
+
87626
+
87627
+ Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-12-08 10:53:16 +0100
87628
+
87629
+
87630
+ Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-12-08 10:53:16 +0100
87631
+
87632
+
87633
+ Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-12-08 10:53:16 +0100
87634
+
87635
+
87636
+ Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-12-08 10:53:16 +0100
87637
+
87638
+
87639
+ Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-12-08 10:53:16 +0100
87640
+
87641
+
87642
+ Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-12-08 10:53:16 +0100
87643
+
87644
+
87645
+ Started GET "/assets/application.self.js?body=1" for ::1 at 2015-12-08 10:53:16 +0100
87646
+
87647
+
87648
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-12-08 10:53:16 +0100
87649
+
87650
+
87651
+ Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-12-08 10:53:18 +0100
87652
+ Processing by Dorsale::BillingMachine::QuotationsController#index as HTML
87653
+ Dorsale::CustomerVault::Individual Load (1.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
87654
+ Dorsale::CustomerVault::Corporation Load (0.7ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
87655
+ Dorsale::BillingMachine::Quotation Load (0.6ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC
87656
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (936.7ms)
87657
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (14.9ms)
87658
+ Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0
87659
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (25.9ms)
87660
+  (0.5ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations"
87661
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (4.1ms)
87662
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (1016.3ms)
87663
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms)
87664
+ Completed 200 OK in 1209ms (Views: 1160.5ms | ActiveRecord: 4.1ms)
87665
+
87666
+
87667
+ Started GET "/dorsale/billing_machine/quotations/new" for ::1 at 2015-12-08 10:53:23 +0100
87668
+ Processing by Dorsale::BillingMachine::QuotationsController#new as HTML
87669
+ Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
87670
+ Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
87671
+ Dorsale::BillingMachine::IdCard Load (0.7ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards"
87672
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.8ms)
87673
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms)
87674
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (9.7ms)
87675
+ Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms"
87676
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (137.1ms)
87677
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (146.7ms)
87678
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/new.html.slim within layouts/application (156.9ms)
87679
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.0ms)
87680
+ Completed 200 OK in 423ms (Views: 355.7ms | ActiveRecord: 2.3ms)
87681
+
87682
+
87683
+ Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-12-08 10:53:25 +0100
87684
+ Processing by Dorsale::BillingMachine::QuotationsController#show as HTML
87685
+ Parameters: {"id"=>"1"}
87686
+ Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
87687
+ Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
87688
+ Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
87689
+ Dorsale::BillingMachine::QuotationLine Load (1.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
87690
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (8.8ms)
87691
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (19.3ms)
87692
+ Dorsale::Alexandrie::Attachment Load (0.7ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1
87693
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (146.5ms)
87694
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (182.1ms)
87695
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (244.9ms)
87696
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (257.4ms)
87697
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms)
87698
+ Completed 200 OK in 426ms (Views: 404.7ms | ActiveRecord: 2.5ms)
87699
+
87700
+
87701
+ Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-12-08 10:57:16 +0100
87702
+ Processing by Dorsale::BillingMachine::QuotationsController#show as HTML
87703
+ Parameters: {"id"=>"1"}
87704
+ Dorsale::CustomerVault::Individual Load (0.7ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
87705
+ Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
87706
+ Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
87707
+ Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
87708
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.0ms)
87709
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (7.4ms)
87710
+ Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1
87711
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (5.2ms)
87712
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (22.6ms)
87713
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (51.5ms)
87714
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (61.7ms)
87715
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms)
87716
+ Completed 200 OK in 328ms (Views: 228.9ms | ActiveRecord: 3.2ms)
87717
+
87718
+
87719
+ Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-12-08 10:57:16 +0100
87720
+
87721
+
87722
+ Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-12-08 10:57:16 +0100
87723
+
87724
+
87725
+ Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-12-08 10:57:16 +0100
87726
+
87727
+
87728
+ Started GET "/assets/application.self.css?body=1" for ::1 at 2015-12-08 10:57:16 +0100
87729
+
87730
+
87731
+ Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-12-08 10:57:16 +0100
87732
+
87733
+
87734
+ Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-12-08 10:57:16 +0100
87735
+
87736
+
87737
+ Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-12-08 10:57:17 +0100
87738
+
87739
+
87740
+ Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-12-08 10:57:17 +0100
87741
+
87742
+
87743
+ Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-12-08 10:57:17 +0100
87744
+
87745
+
87746
+ Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-12-08 10:57:17 +0100
87747
+
87748
+
87749
+ Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-12-08 10:57:17 +0100
87750
+
87751
+
87752
+ Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-12-08 10:57:17 +0100
87753
+
87754
+
87755
+ Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-12-08 10:57:17 +0100
87756
+
87757
+
87758
+ Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-12-08 10:57:17 +0100
87759
+
87760
+
87761
+ Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-12-08 10:57:17 +0100
87762
+
87763
+
87764
+ Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-12-08 10:57:17 +0100
87765
+
87766
+
87767
+ Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-12-08 10:57:17 +0100
87768
+
87769
+
87770
+ Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-12-08 10:57:17 +0100
87771
+
87772
+
87773
+ Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-12-08 10:57:17 +0100
87774
+
87775
+
87776
+ Started GET "/assets/application.self.js?body=1" for ::1 at 2015-12-08 10:57:17 +0100
87777
+
87778
+
87779
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-12-08 10:57:17 +0100
87780
+
87781
+
87782
+ Started POST "/dorsale/billing_machine/quotations/1/create_invoice" for ::1 at 2015-12-08 10:57:18 +0100
87783
+ Processing by Dorsale::BillingMachine::QuotationsController#create_invoice as HTML
87784
+ Parameters: {"authenticity_token"=>"H5y2WRqK2Rqnj+JtJVL3g7B9byvCEeEXthG+un7Pl1a16PfLb8p4RT+Kf3qpmE1et5UF5t318XMpzG7q1+2kRw==", "id"=>"1"}
87785
+ Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
87786
+ Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
87787
+ Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
87788
+ Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
87789
+ Completed 500 Internal Server Error in 62ms (ActiveRecord: 1.6ms)
87790
+
87791
+ ActionView::MissingTemplate (Missing template dorsale/billing_machine/invoice/new with {:locale=>[:fr], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :slim, :coffee]}. Searched in:
87792
+ * "/Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bh-1.3.4/lib/bh/views"
87793
+ * "/Users/benoit/www/agilidee/dorsale/spec/dummy/app/views"
87794
+ * "/Users/benoit/www/agilidee/dorsale/app/views"
87795
+ * "/Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bootstrap-kaminari-views-0.0.5/app/views"
87796
+ * "/Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/kaminari-0.16.3/app/views"
87797
+ * "/Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views"
87798
+ * "/Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-3.5.2/app/views"
87799
+ ):
87800
+ actionview (4.2.4) lib/action_view/path_set.rb:46:in `find'
87801
+ actionview (4.2.4) lib/action_view/lookup_context.rb:121:in `find'
87802
+ actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
87803
+ actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:40:in `determine_template'
87804
+ actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
87805
+ actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
87806
+ actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render'
87807
+ actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template'
87808
+ actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
87809
+ actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body'
87810
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
87811
+ actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
87812
+ actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render'
87813
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render'
87814
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
87815
+ activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
87816
+ /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
87817
+ activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
87818
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
87819
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
87820
+ activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
87821
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render'
87822
+ /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/quotations_controller.rb:157:in `create_invoice'
87823
+ actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
87824
+ actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action'
87825
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
87826
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
87827
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
87828
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
87829
+ activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
87830
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
87831
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
87832
+ activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
87833
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
87834
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
87835
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
87836
+ actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
87837
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
87838
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument'
87839
+ activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
87840
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument'
87841
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
87842
+ actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
87843
+ activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
87844
+ actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process'
87845
+ actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
87846
+ actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
87847
+ actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
87848
+ actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
87849
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
87850
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
87851
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
87852
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
87853
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
87854
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
87855
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
87856
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
87857
+ railties (4.2.4) lib/rails/railtie.rb:194:in `public_send'
87858
+ railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing'
87859
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
87860
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
87861
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
87862
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
87863
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
87864
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
87865
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
87866
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
87867
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
87868
+ rack (1.6.4) lib/rack/conditionalget.rb:38:in `call'
87869
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
87870
+ actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
87871
+ actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
87872
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
87873
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
87874
+ actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
87875
+ activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
87876
+ activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
87877
+ activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
87878
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
87879
+ activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
87880
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
87881
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
87882
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
87883
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
87884
+ actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
87885
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
87886
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
87887
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
87888
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
87889
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
87890
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
87891
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
87892
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
87893
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
87894
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
87895
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
87896
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
87897
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
87898
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
87899
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
87900
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
87901
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
87902
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
87903
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
87904
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
87905
+ /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
87906
+ /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
87907
+ /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
87908
+
87909
+
87910
+ Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.0ms)
87911
+ Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms)
87912
+ Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
87913
+ Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (86.5ms)
87914
+
87915
+
87916
+ Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-12-08 10:58:35 +0100
87917
+ Processing by Dorsale::BillingMachine::QuotationsController#show as HTML
87918
+ Parameters: {"id"=>"1"}
87919
+ Dorsale::CustomerVault::Individual Load (0.7ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
87920
+ Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
87921
+ Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
87922
+ Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
87923
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms)
87924
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (7.6ms)
87925
+ Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1
87926
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (5.2ms)
87927
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (21.3ms)
87928
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (53.5ms)
87929
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (64.6ms)
87930
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms)
87931
+ Completed 200 OK in 313ms (Views: 217.3ms | ActiveRecord: 3.0ms)
87932
+
87933
+
87934
+ Started GET "/assets/application.self.css?body=1" for ::1 at 2015-12-08 10:58:35 +0100
87935
+
87936
+
87937
+ Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-12-08 10:58:35 +0100
87938
+
87939
+
87940
+ Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-12-08 10:58:35 +0100
87941
+
87942
+
87943
+ Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-12-08 10:58:35 +0100
87944
+
87945
+
87946
+ Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-12-08 10:58:35 +0100
87947
+
87948
+
87949
+ Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-12-08 10:58:35 +0100
87950
+
87951
+
87952
+ Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-12-08 10:58:35 +0100
87953
+
87954
+
87955
+ Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-12-08 10:58:35 +0100
87956
+
87957
+
87958
+ Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-12-08 10:58:35 +0100
87959
+
87960
+
87961
+ Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-12-08 10:58:35 +0100
87962
+
87963
+
87964
+ Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-12-08 10:58:35 +0100
87965
+
87966
+
87967
+ Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-12-08 10:58:35 +0100
87968
+
87969
+
87970
+ Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-12-08 10:58:35 +0100
87971
+
87972
+
87973
+ Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-12-08 10:58:35 +0100
87974
+
87975
+
87976
+ Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-12-08 10:58:35 +0100
87977
+
87978
+
87979
+ Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-12-08 10:58:36 +0100
87980
+
87981
+
87982
+ Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-12-08 10:58:36 +0100
87983
+
87984
+
87985
+ Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-12-08 10:58:36 +0100
87986
+
87987
+
87988
+ Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-12-08 10:58:36 +0100
87989
+
87990
+
87991
+ Started GET "/assets/application.self.js?body=1" for ::1 at 2015-12-08 10:58:36 +0100
87992
+
87993
+
87994
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-12-08 10:58:36 +0100
87995
+
87996
+
87997
+ Started GET "/dorsale/billing_machine/quotations/1/create_invoice" for ::1 at 2015-12-08 10:58:36 +0100
87998
+ Processing by Dorsale::BillingMachine::QuotationsController#create_invoice as HTML
87999
+ Parameters: {"id"=>"1"}
88000
+ Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
88001
+ Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
88002
+ Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
88003
+ Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
88004
+ Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards"
88005
+ Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
88006
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms)
88007
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms)
88008
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.4ms)
88009
+ Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms"
88010
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (64.4ms)
88011
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (74.0ms)
88012
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms)
88013
+ Completed 200 OK in 288ms (Views: 238.2ms | ActiveRecord: 2.3ms)
88014
+
88015
+
88016
+ Started GET "/dorsale/billing_machine/quotations/1/edit" for ::1 at 2015-12-08 10:58:44 +0100
88017
+ Processing by Dorsale::BillingMachine::QuotationsController#edit as HTML
88018
+ Parameters: {"id"=>"1"}
88019
+ Dorsale::CustomerVault::Individual Load (0.6ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
88020
+ Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
88021
+ Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
88022
+ Dorsale::BillingMachine::QuotationLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? LIMIT 1 [["quotation_id", 1]]
88023
+ Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards"
88024
+ Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
88025
+ Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
88026
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.7ms)
88027
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms)
88028
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.3ms)
88029
+ Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms"
88030
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (44.0ms)
88031
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_form.html.slim (50.5ms)
88032
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/edit.html.slim within layouts/application (62.0ms)
88033
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms)
88034
+ Completed 200 OK in 235ms (Views: 212.6ms | ActiveRecord: 1.8ms)
88035
+
88036
+
88037
+ Started PATCH "/dorsale/billing_machine/quotations/1" for ::1 at 2015-12-08 10:58:54 +0100
88038
+ Processing by Dorsale::BillingMachine::QuotationsController#update as HTML
88039
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"5/NNDi0LJWYQm3TtH786kKt8YOVEBmkc2cUC/ScwK/5NhwycWEuEOYie6fqTdYBNrJQKKFvieXhGGNKtjhIY7w==", "quotation"=>{"id_card_id"=>"1", "label"=>"abcdef", "date"=>"20/11/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"Coucou", "quantity"=>"10,00", "unit"=>"", "unit_price"=>"10,00", "id"=>"1"}, "1449568732240"=>{"_destroy"=>"false", "label"=>"zzzz", "quantity"=>"0,00", "unit"=>"", "unit_price"=>"0,00"}}, "payment_term_id"=>"", "state"=>"pending", "expires_at"=>"20/12/2015", "comments"=>"fsdofusdofuqsdf\r\nfqsd\r\nf\r\nqsdf\r\n", "commercial_discount"=>"0,00", "vat_rate"=>"20,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/1/edit", "id"=>"1"}
88040
+ Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
88041
+ Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
88042
+ Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
88043
+  (0.1ms) begin transaction
88044
+ Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? AND "dorsale_billing_machine_quotation_lines"."id" = 1 ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
88045
+ Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
88046
+ Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
88047
+ SQL (0.4ms) UPDATE "dorsale_billing_machine_quotations" SET "commercial_discount" = ?, "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["commercial_discount", 0.0], ["total_excluding_taxes", 100.0], ["vat_amount", 20.0], ["total_including_taxes", 120.0], ["updated_at", "2015-12-08 09:58:54.500222"], ["id", 1]]
88048
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_quotation_lines" SET "label" = ?, "quantity" = ?, "unit_price" = ?, "vat_rate" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotation_lines"."id" = ? [["label", "Coucou"], ["quantity", 10.0], ["unit_price", 10.0], ["vat_rate", 20.0], ["total", 100.0], ["updated_at", "2015-12-08 09:58:54.502660"], ["id", 1]]
88049
+ Dorsale::BillingMachine::Quotation Load (0.0ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
88050
+ Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
88051
+ Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
88052
+ SQL (2.0ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("label", "quantity", "unit", "unit_price", "quotation_id", "vat_rate", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "zzzz"], ["quantity", 0.0], ["unit", ""], ["unit_price", 0.0], ["quotation_id", 1], ["vat_rate", 20.0], ["total", 0.0], ["created_at", "2015-12-08 09:58:54.509802"], ["updated_at", "2015-12-08 09:58:54.509802"]]
88053
+ Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
88054
+ Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
88055
+ Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
88056
+  (1.0ms) commit transaction
88057
+ Redirected to http://localhost:3000/dorsale/billing_machine/quotations
88058
+ Completed 302 Found in 33ms (ActiveRecord: 4.8ms)
88059
+
88060
+
88061
+ Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-12-08 10:58:54 +0100
88062
+ Processing by Dorsale::BillingMachine::QuotationsController#index as HTML
88063
+ Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
88064
+ Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
88065
+ Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC
88066
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (2.1ms)
88067
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.5ms)
88068
+ Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0
88069
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (2.9ms)
88070
+  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations"
88071
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.5ms)
88072
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (33.9ms)
88073
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (15.4ms)
88074
+ Completed 200 OK in 221ms (Views: 210.1ms | ActiveRecord: 0.9ms)
88075
+
88076
+
88077
+ Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-12-08 10:58:54 +0100
88078
+
88079
+
88080
+ Started GET "/assets/application.self.css?body=1" for ::1 at 2015-12-08 10:58:54 +0100
88081
+
88082
+
88083
+ Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-12-08 10:58:54 +0100
88084
+
88085
+
88086
+ Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-12-08 10:58:54 +0100
88087
+
88088
+
88089
+ Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-12-08 10:58:54 +0100
88090
+
88091
+
88092
+ Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-12-08 10:58:54 +0100
88093
+
88094
+
88095
+ Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-12-08 10:58:54 +0100
88096
+
88097
+
88098
+ Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-12-08 10:58:55 +0100
88099
+
88100
+
88101
+ Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-12-08 10:58:55 +0100
88102
+
88103
+
88104
+ Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-12-08 10:58:55 +0100
88105
+
88106
+
88107
+ Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-12-08 10:58:55 +0100
88108
+
88109
+
88110
+ Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-12-08 10:58:55 +0100
88111
+
88112
+
88113
+ Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-12-08 10:58:55 +0100
88114
+
88115
+
88116
+ Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-12-08 10:58:55 +0100
88117
+
88118
+
88119
+ Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-12-08 10:58:55 +0100
88120
+
88121
+
88122
+ Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-12-08 10:58:55 +0100
88123
+
88124
+
88125
+ Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-12-08 10:58:55 +0100
88126
+
88127
+
88128
+ Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-12-08 10:58:55 +0100
88129
+
88130
+
88131
+ Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-12-08 10:58:55 +0100
88132
+
88133
+
88134
+ Started GET "/assets/application.self.js?body=1" for ::1 at 2015-12-08 10:58:55 +0100
88135
+
88136
+
88137
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-12-08 10:58:55 +0100
88138
+
88139
+
88140
+ Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-12-08 10:58:56 +0100
88141
+ Processing by Dorsale::BillingMachine::QuotationsController#show as HTML
88142
+ Parameters: {"id"=>"1"}
88143
+ Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
88144
+ Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
88145
+ Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
88146
+ Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
88147
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.7ms)
88148
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.3ms)
88149
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.4ms)
88150
+ Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1
88151
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (4.8ms)
88152
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (16.0ms)
88153
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (42.4ms)
88154
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (49.4ms)
88155
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms)
88156
+ Completed 200 OK in 203ms (Views: 198.1ms | ActiveRecord: 0.8ms)
88157
+
88158
+
88159
+ Started GET "/dorsale/billing_machine/quotations/1/create_invoice" for ::1 at 2015-12-08 10:58:57 +0100
88160
+ Processing by Dorsale::BillingMachine::QuotationsController#create_invoice as HTML
88161
+ Parameters: {"id"=>"1"}
88162
+ Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
88163
+ Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
88164
+ Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
88165
+ Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
88166
+ Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards"
88167
+ Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
88168
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.5ms)
88169
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms)
88170
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms)
88171
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (8.2ms)
88172
+ Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms"
88173
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (47.3ms)
88174
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (53.7ms)
88175
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms)
88176
+ Completed 200 OK in 233ms (Views: 217.7ms | ActiveRecord: 1.6ms)
88177
+
88178
+
88179
+ Started POST "/dorsale/billing_machine/invoices" for ::1 at 2015-12-08 10:59:03 +0100
88180
+ Processing by Dorsale::BillingMachine::InvoicesController#create as HTML
88181
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"RO+Ga6PH2gz19HS/Ta+HqD71FtDx9dW93Chdf/hYzjjum8f51od7U23x6ajBZT11OR18He4RxdlD9Y0vUXr9KQ==", "invoice"=>{"id_card_id"=>"1", "label"=>"abcdef", "date"=>"08/12/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"Coucou", "quantity"=>"10,00", "unit"=>"", "unit_price"=>"10,00"}, "1"=>{"_destroy"=>"false", "label"=>"zzzz", "quantity"=>"0,00", "unit"=>"", "unit_price"=>"0,00"}}, "payment_term_id"=>"", "due_date"=>"07/01/2016", "paid"=>"false", "commercial_discount"=>"0,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://localhost:3000/dorsale/billing_machine/quotations/1/create_invoice"}
88182
+ Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
88183
+ Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
88184
+  (0.1ms) begin transaction
88185
+ Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
88186
+  (0.6ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
88187
+ SQL (2.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["label", "abcdef"], ["paid", "f"], ["date", "2015-12-08"], ["commercial_discount", 0.0], ["advance", 0.0], ["due_date", "2016-01-07"], ["vat_amount", 20.0], ["total_excluding_taxes", 100.0], ["total_including_taxes", 120.0], ["balance", 120.0], ["created_at", "2015-12-08 09:59:03.400791"], ["updated_at", "2015-12-08 09:59:03.400791"], ["unique_index", 16], ["tracking_id", "2015-16"]]
88188
+ SQL (0.9ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "Coucou"], ["quantity", 10.0], ["unit", ""], ["unit_price", 10.0], ["vat_rate", 20.0], ["total", 100.0], ["invoice_id", 16], ["created_at", "2015-12-08 09:59:03.406458"], ["updated_at", "2015-12-08 09:59:03.406458"]]
88189
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 16]]
88190
+ Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 16]]
88191
+ Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
88192
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", "zzzz"], ["quantity", 0.0], ["unit", ""], ["unit_price", 0.0], ["vat_rate", 20.0], ["total", 0.0], ["invoice_id", 16], ["created_at", "2015-12-08 09:59:03.413879"], ["updated_at", "2015-12-08 09:59:03.413879"]]
88193
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 16]]
88194
+ Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 16]]
88195
+ Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
88196
+  (1.1ms) commit transaction
88197
+ Redirected to http://localhost:3000/dorsale/billing_machine/invoices
88198
+ Completed 302 Found in 33ms (ActiveRecord: 6.0ms)
88199
+
88200
+
88201
+ Started GET "/dorsale/billing_machine/invoices" for ::1 at 2015-12-08 10:59:03 +0100
88202
+ Processing by Dorsale::BillingMachine::InvoicesController#index as HTML
88203
+ Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
88204
+ Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
88205
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (8.0ms)
88206
+ Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC
88207
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (6.9ms)
88208
+ Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0
88209
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (26.8ms)
88210
+  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices"
88211
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (1.2ms)
88212
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (76.0ms)
88213
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms)
88214
+ Completed 200 OK in 238ms (Views: 229.4ms | ActiveRecord: 1.2ms)
88215
+
88216
+
88217
+ Started GET "/assets/application.self.css?body=1" for ::1 at 2015-12-08 10:59:03 +0100
88218
+
88219
+
88220
+ Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-12-08 10:59:03 +0100
88221
+
88222
+
88223
+ Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-12-08 10:59:03 +0100
88224
+
88225
+
88226
+ Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-12-08 10:59:03 +0100
88227
+
88228
+
88229
+ Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-12-08 10:59:03 +0100
88230
+
88231
+
88232
+ Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-12-08 10:59:03 +0100
88233
+
88234
+
88235
+ Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-12-08 10:59:03 +0100
88236
+
88237
+
88238
+ Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-12-08 10:59:03 +0100
88239
+
88240
+
88241
+ Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-12-08 10:59:03 +0100
88242
+
88243
+
88244
+ Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-12-08 10:59:03 +0100
88245
+
88246
+
88247
+ Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-12-08 10:59:03 +0100
88248
+
88249
+
88250
+ Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-12-08 10:59:04 +0100
88251
+
88252
+
88253
+ Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-12-08 10:59:04 +0100
88254
+
88255
+
88256
+ Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-12-08 10:59:04 +0100
88257
+
88258
+
88259
+ Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-12-08 10:59:04 +0100
88260
+
88261
+
88262
+ Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-12-08 10:59:04 +0100
88263
+
88264
+
88265
+ Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-12-08 10:59:04 +0100
88266
+
88267
+
88268
+ Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-12-08 10:59:04 +0100
88269
+
88270
+
88271
+ Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-12-08 10:59:04 +0100
88272
+
88273
+
88274
+ Started GET "/assets/application.self.js?body=1" for ::1 at 2015-12-08 10:59:04 +0100
88275
+
88276
+
88277
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-12-08 10:59:04 +0100
88278
+
88279
+
88280
+ Started GET "/dorsale/billing_machine/invoices/16" for ::1 at 2015-12-08 10:59:06 +0100
88281
+ Processing by Dorsale::BillingMachine::InvoicesController#show as HTML
88282
+ Parameters: {"id"=>"16"}
88283
+ Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
88284
+ Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
88285
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 16]]
88286
+ Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 16]]
88287
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms)
88288
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.8ms)
88289
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (22.6ms)
88290
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (35.6ms)
88291
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms)
88292
+ Completed 200 OK in 235ms (Views: 231.5ms | ActiveRecord: 0.5ms)
88293
+
88294
+
88295
+ Started GET "/dorsale/billing_machine/quotations" for ::1 at 2015-12-08 10:59:10 +0100
88296
+ Processing by Dorsale::BillingMachine::QuotationsController#index as HTML
88297
+ Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
88298
+ Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
88299
+ Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC
88300
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_filters.html.slim (2.4ms)
88301
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_data_context.html.slim (1.5ms)
88302
+ Dorsale::BillingMachine::Quotation Load (0.3ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" ORDER BY "dorsale_billing_machine_quotations"."unique_index" DESC LIMIT 50 OFFSET 0
88303
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_list.html.slim (2.7ms)
88304
+  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_quotations"
88305
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (0.4ms)
88306
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/index.html.slim within layouts/application (32.3ms)
88307
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms)
88308
+ Completed 200 OK in 189ms (Views: 184.3ms | ActiveRecord: 0.8ms)
88309
+
88310
+
88311
+ Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-12-08 10:59:11 +0100
88312
+ Processing by Dorsale::BillingMachine::QuotationsController#show as HTML
88313
+ Parameters: {"id"=>"1"}
88314
+ Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
88315
+ Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
88316
+ Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
88317
+ Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
88318
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms)
88319
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.2ms)
88320
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (1.5ms)
88321
+ Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1
88322
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (5.0ms)
88323
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (17.4ms)
88324
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (43.6ms)
88325
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (50.2ms)
88326
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms)
88327
+ Completed 200 OK in 201ms (Views: 196.1ms | ActiveRecord: 1.0ms)
88328
+
88329
+
88330
+ Started GET "/dorsale/billing_machine/quotations/1/create_invoice" for ::1 at 2015-12-08 10:59:16 +0100
88331
+ Processing by Dorsale::BillingMachine::QuotationsController#create_invoice as HTML
88332
+ Parameters: {"id"=>"1"}
88333
+ Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
88334
+ Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
88335
+ Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
88336
+ Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
88337
+ Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards"
88338
+ Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
88339
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms)
88340
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms)
88341
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms)
88342
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (7.5ms)
88343
+ Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms"
88344
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (50.0ms)
88345
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (56.7ms)
88346
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms)
88347
+ Completed 200 OK in 223ms (Views: 209.4ms | ActiveRecord: 1.4ms)
88348
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
88349
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
88350
+  (0.2ms)  SELECT sql
88351
+ FROM sqlite_master
88352
+ WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'
88353
+ UNION ALL
88354
+ SELECT sql
88355
+ FROM sqlite_temp_master
88356
+ WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'
88357
+ 
88358
+  (0.2ms) SELECT sql
88359
+ FROM sqlite_master
88360
+ WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'
88361
+ UNION ALL
88362
+ SELECT sql
88363
+ FROM sqlite_temp_master
88364
+ WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'
88365
+
88366
+  (0.1ms)  SELECT sql
88367
+ FROM sqlite_master
88368
+ WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
88369
+ UNION ALL
88370
+ SELECT sql
88371
+ FROM sqlite_temp_master
88372
+ WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
88373
+ 
88374
+  (0.1ms) SELECT sql
88375
+ FROM sqlite_master
88376
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
88377
+ UNION ALL
88378
+ SELECT sql
88379
+ FROM sqlite_temp_master
88380
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
88381
+
88382
+  (0.1ms)  SELECT sql
88383
+ FROM sqlite_master
88384
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
88385
+ UNION ALL
88386
+ SELECT sql
88387
+ FROM sqlite_temp_master
88388
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
88389
+ 
88390
+  (0.1ms) SELECT sql
88391
+ FROM sqlite_master
88392
+ WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'
88393
+ UNION ALL
88394
+ SELECT sql
88395
+ FROM sqlite_temp_master
88396
+ WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'
88397
+
88398
+  (0.1ms)  SELECT sql
88399
+ FROM sqlite_master
88400
+ WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'
88401
+ UNION ALL
88402
+ SELECT sql
88403
+ FROM sqlite_temp_master
88404
+ WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'
88405
+ 
88406
+  (0.1ms) SELECT sql
88407
+ FROM sqlite_master
88408
+ WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
88409
+ UNION ALL
88410
+ SELECT sql
88411
+ FROM sqlite_temp_master
88412
+ WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
88413
+
88414
+  (0.1ms)  SELECT sql
88415
+ FROM sqlite_master
88416
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
88417
+ UNION ALL
88418
+ SELECT sql
88419
+ FROM sqlite_temp_master
88420
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
88421
+ 
88422
+  (0.1ms) SELECT sql
88423
+ FROM sqlite_master
88424
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
88425
+ UNION ALL
88426
+ SELECT sql
88427
+ FROM sqlite_temp_master
88428
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
88429
+
88430
+  (0.1ms)  SELECT sql
88431
+ FROM sqlite_master
88432
+ WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'
88433
+ UNION ALL
88434
+ SELECT sql
88435
+ FROM sqlite_temp_master
88436
+ WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'
88437
+ 
88438
+  (0.1ms) SELECT sql
88439
+ FROM sqlite_master
88440
+ WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
88441
+ UNION ALL
88442
+ SELECT sql
88443
+ FROM sqlite_temp_master
88444
+ WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
88445
+
88446
+  (0.1ms)  SELECT sql
88447
+ FROM sqlite_master
88448
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
88449
+ UNION ALL
88450
+ SELECT sql
88451
+ FROM sqlite_temp_master
88452
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
88453
+ 
88454
+  (0.1ms) SELECT sql
88455
+ FROM sqlite_master
88456
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
88457
+ UNION ALL
88458
+ SELECT sql
88459
+ FROM sqlite_temp_master
88460
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
88461
+
88462
+  (0.1ms)  SELECT sql
88463
+ FROM sqlite_master
88464
+ WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'
88465
+ UNION ALL
88466
+ SELECT sql
88467
+ FROM sqlite_temp_master
88468
+ WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'
88469
+ 
88470
+  (0.1ms) SELECT sql
88471
+ FROM sqlite_master
88472
+ WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
88473
+ UNION ALL
88474
+ SELECT sql
88475
+ FROM sqlite_temp_master
88476
+ WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
88477
+
88478
+  (0.1ms)  SELECT sql
88479
+ FROM sqlite_master
88480
+ WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'
88481
+ UNION ALL
88482
+ SELECT sql
88483
+ FROM sqlite_temp_master
88484
+ WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'
88485
+ 
88486
+  (0.1ms) SELECT sql
88487
+ FROM sqlite_master
88488
+ WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'
88489
+ UNION ALL
88490
+ SELECT sql
88491
+ FROM sqlite_temp_master
88492
+ WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'
88493
+
88494
+  (0.1ms)  SELECT sql
88495
+ FROM sqlite_master
88496
+ WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
88497
+ UNION ALL
88498
+ SELECT sql
88499
+ FROM sqlite_temp_master
88500
+ WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
88501
+ 
88502
+  (0.1ms) SELECT sql
88503
+ FROM sqlite_master
88504
+ WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'
88505
+ UNION ALL
88506
+ SELECT sql
88507
+ FROM sqlite_temp_master
88508
+ WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'
88509
+
88510
+  (0.1ms)  SELECT sql
88511
+ FROM sqlite_master
88512
+ WHERE name='taggings_idx' AND type='index'
88513
+ UNION ALL
88514
+ SELECT sql
88515
+ FROM sqlite_temp_master
88516
+ WHERE name='taggings_idx' AND type='index'
88517
+ 
88518
+  (0.1ms) SELECT sql
88519
+ FROM sqlite_master
88520
+ WHERE name='index_tags_on_name' AND type='index'
88521
+ UNION ALL
88522
+ SELECT sql
88523
+ FROM sqlite_temp_master
88524
+ WHERE name='index_tags_on_name' AND type='index'
88525
+
88526
+  (0.1ms)  SELECT sql
88527
+ FROM sqlite_master
88528
+ WHERE name='index_users_on_reset_password_token' AND type='index'
88529
+ UNION ALL
88530
+ SELECT sql
88531
+ FROM sqlite_temp_master
88532
+ WHERE name='index_users_on_reset_password_token' AND type='index'
88533
+ 
88534
+  (0.1ms) SELECT sql
88535
+ FROM sqlite_master
88536
+ WHERE name='index_users_on_email' AND type='index'
88537
+ UNION ALL
88538
+ SELECT sql
88539
+ FROM sqlite_temp_master
88540
+ WHERE name='index_users_on_email' AND type='index'
88541
+
88542
+
88543
+
88544
+ Started GET "/dorsale/billing_machine/quotations/1" for ::1 at 2015-12-08 11:01:10 +0100
88545
+ Processing by Dorsale::BillingMachine::QuotationsController#show as HTML
88546
+ Parameters: {"id"=>"1"}
88547
+ Dorsale::CustomerVault::Individual Load (0.7ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
88548
+ Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
88549
+ Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
88550
+ Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
88551
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms)
88552
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.3ms)
88553
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (9.0ms)
88554
+ Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1
88555
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (5.6ms)
88556
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (24.8ms)
88557
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (60.2ms)
88558
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (68.2ms)
88559
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms)
88560
+ Completed 200 OK in 317ms (Views: 220.2ms | ActiveRecord: 2.9ms)
88561
+
88562
+
88563
+ Started GET "/assets/jquery.self.js?body=1" for ::1 at 2015-12-08 11:01:11 +0100
88564
+
88565
+
88566
+ Started GET "/assets/application.self.css?body=1" for ::1 at 2015-12-08 11:01:11 +0100
88567
+
88568
+
88569
+ Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2015-12-08 11:01:11 +0100
88570
+
88571
+
88572
+ Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2015-12-08 11:01:11 +0100
88573
+
88574
+
88575
+ Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2015-12-08 11:01:11 +0100
88576
+
88577
+
88578
+ Started GET "/assets/accounting.self.js?body=1" for ::1 at 2015-12-08 11:01:11 +0100
88579
+
88580
+
88581
+ Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2015-12-08 11:01:11 +0100
88582
+
88583
+
88584
+ Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2015-12-08 11:01:11 +0100
88585
+
88586
+
88587
+ Started GET "/assets/selectize.self.js?body=1" for ::1 at 2015-12-08 11:01:11 +0100
88588
+
88589
+
88590
+ Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2015-12-08 11:01:11 +0100
88591
+
88592
+
88593
+ Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2015-12-08 11:01:11 +0100
88594
+
88595
+
88596
+ Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2015-12-08 11:01:11 +0100
88597
+
88598
+
88599
+ Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2015-12-08 11:01:11 +0100
88600
+
88601
+
88602
+ Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2015-12-08 11:01:11 +0100
88603
+
88604
+
88605
+ Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2015-12-08 11:01:11 +0100
88606
+
88607
+
88608
+ Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2015-12-08 11:01:11 +0100
88609
+
88610
+
88611
+ Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2015-12-08 11:01:11 +0100
88612
+
88613
+
88614
+ Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2015-12-08 11:01:11 +0100
88615
+
88616
+
88617
+ Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2015-12-08 11:01:11 +0100
88618
+
88619
+
88620
+ Started GET "/assets/application.self.js?body=1" for ::1 at 2015-12-08 11:01:11 +0100
88621
+
88622
+
88623
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff2" for ::1 at 2015-12-08 11:01:11 +0100
88624
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
88625
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
88626
+  (0.1ms)  SELECT sql
88627
+ FROM sqlite_master
88628
+ WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'
88629
+ UNION ALL
88630
+ SELECT sql
88631
+ FROM sqlite_temp_master
88632
+ WHERE name='index_dorsale_billing_machine_invoice_lines_on_invoice_id' AND type='index'
88633
+ 
88634
+  (0.1ms) SELECT sql
88635
+ FROM sqlite_master
88636
+ WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'
88637
+ UNION ALL
88638
+ SELECT sql
88639
+ FROM sqlite_temp_master
88640
+ WHERE name='index_dorsale_billing_machine_invoices_on_payment_term_id' AND type='index'
88641
+
88642
+  (0.1ms)  SELECT sql
88643
+ FROM sqlite_master
88644
+ WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
88645
+ UNION ALL
88646
+ SELECT sql
88647
+ FROM sqlite_temp_master
88648
+ WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
88649
+ 
88650
+  (0.1ms) SELECT sql
88651
+ FROM sqlite_master
88652
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
88653
+ UNION ALL
88654
+ SELECT sql
88655
+ FROM sqlite_temp_master
88656
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
88657
+
88658
+  (0.1ms)  SELECT sql
88659
+ FROM sqlite_master
88660
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
88661
+ UNION ALL
88662
+ SELECT sql
88663
+ FROM sqlite_temp_master
88664
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
88665
+ 
88666
+  (0.1ms) SELECT sql
88667
+ FROM sqlite_master
88668
+ WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'
88669
+ UNION ALL
88670
+ SELECT sql
88671
+ FROM sqlite_temp_master
88672
+ WHERE name='index_dorsale_billing_machine_quotation_lines_on_quotation_id' AND type='index'
88673
+
88674
+  (0.1ms)  SELECT sql
88675
+ FROM sqlite_master
88676
+ WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'
88677
+ UNION ALL
88678
+ SELECT sql
88679
+ FROM sqlite_temp_master
88680
+ WHERE name='index_dorsale_billing_machine_quotations_on_payment_term_id' AND type='index'
88681
+ 
88682
+  (0.1ms) SELECT sql
88683
+ FROM sqlite_master
88684
+ WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
88685
+ UNION ALL
88686
+ SELECT sql
88687
+ FROM sqlite_temp_master
88688
+ WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
88689
+
88690
+  (0.1ms)  SELECT sql
88691
+ FROM sqlite_master
88692
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
88693
+ UNION ALL
88694
+ SELECT sql
88695
+ FROM sqlite_temp_master
88696
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
88697
+ 
88698
+  (0.1ms) SELECT sql
88699
+ FROM sqlite_master
88700
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
88701
+ UNION ALL
88702
+ SELECT sql
88703
+ FROM sqlite_temp_master
88704
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
88705
+
88706
+  (0.3ms)  SELECT sql
88707
+ FROM sqlite_master
88708
+ WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'
88709
+ UNION ALL
88710
+ SELECT sql
88711
+ FROM sqlite_temp_master
88712
+ WHERE name='index_dorsale_customer_vault_links_on_bob_type' AND type='index'
88713
+ 
88714
+  (0.2ms) SELECT sql
88715
+ FROM sqlite_master
88716
+ WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
88717
+ UNION ALL
88718
+ SELECT sql
88719
+ FROM sqlite_temp_master
88720
+ WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
88721
+
88722
+  (0.2ms)  SELECT sql
88723
+ FROM sqlite_master
88724
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
88725
+ UNION ALL
88726
+ SELECT sql
88727
+ FROM sqlite_temp_master
88728
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
88729
+ 
88730
+  (0.1ms) SELECT sql
88731
+ FROM sqlite_master
88732
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
88733
+ UNION ALL
88734
+ SELECT sql
88735
+ FROM sqlite_temp_master
88736
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
88737
+
88738
+  (0.1ms)  SELECT sql
88739
+ FROM sqlite_master
88740
+ WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'
88741
+ UNION ALL
88742
+ SELECT sql
88743
+ FROM sqlite_temp_master
88744
+ WHERE name='index_dorsale_flyboy_folders_on_folderable_type' AND type='index'
88745
+ 
88746
+  (0.1ms) SELECT sql
88747
+ FROM sqlite_master
88748
+ WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
88749
+ UNION ALL
88750
+ SELECT sql
88751
+ FROM sqlite_temp_master
88752
+ WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
88753
+
88754
+  (0.1ms)  SELECT sql
88755
+ FROM sqlite_master
88756
+ WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'
88757
+ UNION ALL
88758
+ SELECT sql
88759
+ FROM sqlite_temp_master
88760
+ WHERE name='index_dorsale_flyboy_task_comments_on_task_id' AND type='index'
88761
+ 
88762
+  (0.1ms) SELECT sql
88763
+ FROM sqlite_master
88764
+ WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'
88765
+ UNION ALL
88766
+ SELECT sql
88767
+ FROM sqlite_temp_master
88768
+ WHERE name='index_dorsale_flyboy_tasks_on_taskable_type' AND type='index'
88769
+
88770
+  (0.1ms)  SELECT sql
88771
+ FROM sqlite_master
88772
+ WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
88773
+ UNION ALL
88774
+ SELECT sql
88775
+ FROM sqlite_temp_master
88776
+ WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
88777
+ 
88778
+  (0.1ms) SELECT sql
88779
+ FROM sqlite_master
88780
+ WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'
88781
+ UNION ALL
88782
+ SELECT sql
88783
+ FROM sqlite_temp_master
88784
+ WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'
88785
+
88786
+  (0.1ms)  SELECT sql
88787
+ FROM sqlite_master
88788
+ WHERE name='taggings_idx' AND type='index'
88789
+ UNION ALL
88790
+ SELECT sql
88791
+ FROM sqlite_temp_master
88792
+ WHERE name='taggings_idx' AND type='index'
88793
+ 
88794
+  (0.1ms) SELECT sql
88795
+ FROM sqlite_master
88796
+ WHERE name='index_tags_on_name' AND type='index'
88797
+ UNION ALL
88798
+ SELECT sql
88799
+ FROM sqlite_temp_master
88800
+ WHERE name='index_tags_on_name' AND type='index'
88801
+
88802
+  (0.1ms)  SELECT sql
88803
+ FROM sqlite_master
88804
+ WHERE name='index_users_on_reset_password_token' AND type='index'
88805
+ UNION ALL
88806
+ SELECT sql
88807
+ FROM sqlite_temp_master
88808
+ WHERE name='index_users_on_reset_password_token' AND type='index'
88809
+ 
88810
+  (0.1ms) SELECT sql
88811
+ FROM sqlite_master
88812
+ WHERE name='index_users_on_email' AND type='index'
88813
+ UNION ALL
88814
+ SELECT sql
88815
+ FROM sqlite_temp_master
88816
+ WHERE name='index_users_on_email' AND type='index'
88817
+