educode_sales 0.9.89 → 0.9.90

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: 90a8a2173c7a406ab0cc7e93e394c7112394ad05e264004870d3a7bbe60754db
4
- data.tar.gz: 1e51f78cda684acf4c051bbc75ced90b7927dd901a7c12466a1f7d68926c36b9
3
+ metadata.gz: e9351b319e5233520bc0142f08f640e76f0a7e6bd4130d22d51dacf1c8f9ffd3
4
+ data.tar.gz: 2d1746cb8a15868876e610067193f3a4dd3bd6ae3bdf1cb23d8b686494ac5c82
5
5
  SHA512:
6
- metadata.gz: ef42ae93980e1cad1414a09e6c8a8213d759b1722396b2901839dad11a2a24aa30672e24cf7f2a1c196eac11e366958b75c1b6a4686a739d87722f0a887e4182
7
- data.tar.gz: caa434156ad1796fdffdf59afccc406ed9723968b6f1bd7856f8df237436cf91a838efee688e7a5b452c73a2a1b33d2cfbb9369b58c92266fd98675d136904d5
6
+ metadata.gz: 12b2e73029794f3e8553b56c7813cb6d44a0b58cbcbae4fddf851f2d527722f6485cfca6666e24c410210c60730653dc80efa7f26617dd53bc3b315eb38e40ad
7
+ data.tar.gz: 481c5795832e343e411d1ede2c13ebe47b1e135a0d14425d2e4a0a1e6a8f88c9e16a80440210b4029291fd6fe749df9e7e467aa9a6f9dfcc41f651ad293bfdee
@@ -17,15 +17,19 @@
17
17
  <br>
18
18
  <div class="layui-inline">
19
19
  <label class="layui-form-label required">项目类型</label>
20
- <%if @last_follow_up&.clazz&.name == @o_name %>
21
- <div class="layui-input-inline">
22
- <%= select_tag "clazz_id", options_for_select([[@o_name, EducodeSales::Common.find_by(name: @o_name).id]]), { 'lay-filter': 'clazz_id', class: 'required', :disabled => true } %>
23
- </div>
24
- <%else %>
20
+ <% if @last_follow_up.nil? %>
21
+ <div class="layui-input-inline">
22
+ <%= select_tag "clazz_id", options_for_select(@clazz, @business&.clazz_id), { 'lay-filter': 'clazz_id', class: 'required', } %>
23
+ </div>
24
+ <% elsif @last_follow_up&.clazz&.name == @o_name %>
25
+ <div class="layui-input-inline">
26
+ <%= select_tag "clazz_id", options_for_select([[@o_name, EducodeSales::Common.find_by(name: @o_name).id]]), { 'lay-filter': 'clazz_id', class: 'required', :disabled => true } %>
27
+ </div>
28
+ <%else %>
25
29
  <div class="layui-input-inline">
26
30
  <%= select_tag "clazz_id", options_for_select(@clazz, @last_follow_up&.clazz_id), { 'lay-filter': 'clazz_id', class: 'required', } %>
27
31
  </div>
28
- <%end %>
32
+ <%end %>
29
33
  </div>
30
34
  <div class="layui-inline">
31
35
  <label class="layui-form-label required">项目阶段</label>
@@ -1,3 +1,3 @@
1
1
  module EducodeSales
2
- VERSION = '0.9.89'
2
+ VERSION = '0.9.90'
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.89
4
+ version: 0.9.90
5
5
  platform: ruby
6
6
  authors:
7
7
  - anke1460
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-15 00:00:00.000000000 Z
11
+ date: 2023-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -699,7 +699,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
699
699
  - !ruby/object:Gem::Version
700
700
  version: '0'
701
701
  requirements: []
702
- rubygems_version: 3.0.9
702
+ rubygems_version: 3.0.0
703
703
  signing_key:
704
704
  specification_version: 4
705
705
  summary: Summary of EducodeSales.