educode_sales 1.0.1 → 1.0.2
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2f22bc4c0ef5a0ae9badb57ed14a6ea2d06f3ebb757746eb2b865cc1d9295c7f
|
|
4
|
+
data.tar.gz: 9a1d107c5a64574e40693890012cba94d9eb3593325db8723320dfbe56a3957b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b67e1c0d5edc38a48f8e9dcebfac180fe01d4546cdf23cb98aeda429835de1e68221071fb62af3d30622101ddc3f64cec9d88a7c879a90642ba0e5d30faf466
|
|
7
|
+
data.tar.gz: e062d9eee3c4c6ceae7ffcea260dc8b4f2d107b74afbd67f68e440a7adc22031b48c21f24f7e25fa74339c931c55386b2e0bdbfa92a408225e2d1d4021690f02
|
|
@@ -352,9 +352,8 @@ module EducodeSales
|
|
|
352
352
|
d.select! { |d| d.delete_if{|f| f == ''}.present? }
|
|
353
353
|
end
|
|
354
354
|
|
|
355
|
-
|
|
356
|
-
|
|
357
355
|
follow_up = last_follow_up.dup
|
|
356
|
+
|
|
358
357
|
follow_up.assign_attributes(follow_up_params)
|
|
359
358
|
follow_up.description = params[:content]
|
|
360
359
|
if params[:service_time].present?
|
|
@@ -366,6 +365,8 @@ module EducodeSales
|
|
|
366
365
|
follow_up.staff = @current_admin
|
|
367
366
|
|
|
368
367
|
if follow_up.save!
|
|
368
|
+
last_follow_up.assign_follow_ups.update_all(follow_up_id: follow_up.id)
|
|
369
|
+
|
|
369
370
|
contract_lists = EducodeSales::ContractDateList.clazzs.invert
|
|
370
371
|
data.each_with_index do |s, i|
|
|
371
372
|
if s.present?
|