educode_sales 0.9.1 → 0.9.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: 6ec7b94dd1cfa92b3cc2803dae9f3b48ac530c772862959ececa2d575d7f305c
4
- data.tar.gz: 766ea79f255bfa56c0f28febb04b8363da6628522a30577e9e57183959bea092
3
+ metadata.gz: f53f1760e66e10622abeeb7b8487804a5905e70b6adaec22df103fccd5e91bde
4
+ data.tar.gz: 5ba593e92ec3ec068cf850fcb4f5ff2ab61c47a0b3c93104649b0e38f96cc9b5
5
5
  SHA512:
6
- metadata.gz: 4133a2b8147539c3e1d92e28a76bc08b1ec05de4c3a9e1f07d95cadab4d65c28af905b558c48254c7fc4a8bd2f70e9cc4714198f5867fe7e2614b946fac092e6
7
- data.tar.gz: 2d868ca452990a02abeaa9a3c0e816baf1811eff439ce82a124f89458dce70c3e8ea2a05a682dd6e1fb54c155719593971f58f38cf0c210554cfcce4ded6f564
6
+ metadata.gz: 3ae71fcb67e0946049f0cbe4f3b99dc1cbc6109042726beebfa78d1b59e7b4b00d3f84d261d1f9c3d8dfcd29d4a7b9d489827225d6d45e4c1678a85d80f702cd
7
+ data.tar.gz: a43d02fa863b87ae1df795af04f71080dda11153cc54c8cfeedcc43e10c2d5ab7104f598de8bdb1eb5983646ee6a6176be872b95ecc6f87973c54b602c1b7c94
@@ -24,7 +24,7 @@ json.data do
24
24
  end
25
25
  json.actual_amount d.last_follow_up&.actual_amount.to_f.round(2)
26
26
  json.return_money d.return_money
27
- json.wait_return_money d.wait_return_money.to_i.round(2)
27
+ json.wait_return_money d.wait_return_money.to_f.round(2)
28
28
  json.return_money_days d.last_follow_up&.reception_at.present? && d.last_follow_up.money_plans.where(clazz: '实际回款').present? ? (d.last_follow_up.money_plans.where(clazz: '实际回款').order(created_at: :asc).first.date_at.to_s(:date).to_date - d.last_follow_up&.reception_at).to_i : ''
29
29
  json.place d.last_follow_up&.place&.name
30
30
  json.last_follow_person d.last_follow_up.present? ? d.last_follow_up.staff.user.real_name : EducodeSales::Staff.find(d.staff_id).user.real_name
@@ -1,3 +1,3 @@
1
1
  module EducodeSales
2
- VERSION = '0.9.1'
2
+ VERSION = '0.9.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: educode_sales
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - anke1460
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-30 00:00:00.000000000 Z
11
+ date: 2022-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails