dorsale 3.14.5 → 3.14.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '081493fb9ef6491659b1f5f841cda9e308f37c576479167e50ea4fb9a2c49bdc'
|
4
|
+
data.tar.gz: e7c0faea95b2a53acb0dbc1df0dd066e8603fa523ca8417a2347a5d739188c9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90b086e74d0b9df47a8ee1c211a30ea153ae898f4a0acc64a4b9934ebfd8eddd6ef77065a0f2f0ace442f3adad78ac3dc3d5fe014faa776d6932491a739fac3b
|
7
|
+
data.tar.gz: '079cb9b8ed02c3a257f11f99c6dc33ac556a77760a642bd0aa19252dc18f199d9c0e9c391a586d303e747a541dfe6ddc2cb996ad2b9b096cc3c8c9069f31b1ce'
|
data/CHANGELOG.md
CHANGED
@@ -75,9 +75,11 @@ class Dorsale::BillingMachine::InvoicesController < ::Dorsale::BillingMachine::A
|
|
75
75
|
|
76
76
|
def update
|
77
77
|
# callback in BillingMachine::ApplicationController
|
78
|
+
@invoice.attributes = invoice_params_for_update
|
79
|
+
|
78
80
|
authorize @invoice, :update?
|
79
81
|
|
80
|
-
if @invoice.
|
82
|
+
if @invoice.save
|
81
83
|
Dorsale::BillingMachine::PdfFileGenerator.(@invoice)
|
82
84
|
flash[:notice] = t("messages.invoices.update_ok")
|
83
85
|
redirect_to default_back_url
|
@@ -65,9 +65,11 @@ class Dorsale::BillingMachine::QuotationsController < ::Dorsale::BillingMachine:
|
|
65
65
|
|
66
66
|
def update
|
67
67
|
# callback in BillingMachine::ApplicationController
|
68
|
+
@quotation.attributes = quotation_params_for_update
|
69
|
+
|
68
70
|
authorize @quotation, :update?
|
69
71
|
|
70
|
-
if @quotation.
|
72
|
+
if @quotation.save
|
71
73
|
Dorsale::BillingMachine::PdfFileGenerator.(@quotation)
|
72
74
|
flash[:notice] = t("messages.quotations.update_ok")
|
73
75
|
redirect_to default_back_url
|
data/lib/dorsale/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dorsale
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.14.
|
4
|
+
version: 3.14.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- agilidée
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|