educode_sales 1.0.6 → 1.0.7
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 +4 -4
- data/app/controllers/educode_sales/invoices_controller.rb +2 -2
- data/app/views/educode_sales/money_plans/_index.html.erb +4 -0
- data/app/views/educode_sales/money_plans/index.json.jbuilder +1 -0
- data/lib/educode_sales/version.rb +1 -1
- metadata +5 -6
- data/app/assets/images/educode_sales/indexlogo.png +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d712b412e49eb32e9cc26fa64bbbd60f058562e3a808157ff45c8b20d71e83e
|
4
|
+
data.tar.gz: ca670038425288a4c176fd178dc987a5f0b89268ee42b6d1bc5e85edd3dedf00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78b9c00d9b20064d1e4b03a981c3cfba1ab9bd5c6119d715e2a55f57b60e1767684451c51f3d9fd4e967c53a5a51bf6d9030f80af70c33fc91573be4e82ae7b0
|
7
|
+
data.tar.gz: bb6eca9c74b213e006f9dade37907e9585968f7b54215521f4011f29debcf9a4c2d95388b3e735ffd28a4b29326dee19934283e49b26a4bdf22d7ad5f66471f6
|
@@ -69,8 +69,8 @@ module EducodeSales
|
|
69
69
|
def invoice_amount
|
70
70
|
business = Business.find(params[:id])
|
71
71
|
render json: {
|
72
|
-
actual_amount: business&.last_follow_up&.actual_amount,
|
73
|
-
invoice_pass: business&.invoice_details&.sum(:amount),
|
72
|
+
actual_amount: business&.last_follow_up&.actual_amount.to_f.round(6),
|
73
|
+
invoice_pass: business&.invoice_details&.sum(:amount).to_f.round(6),
|
74
74
|
invoice_category: business&.invoice_apply&.category || '',
|
75
75
|
is_tax_rebate: business&.invoice_apply&.is_tax_rebate.to_s,
|
76
76
|
ticket_at: business&.invoice_apply&.ticket_at || '',
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: educode_sales
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- anke1460
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2023-06-07 00:00:00.000000000 Z
|
@@ -105,7 +105,6 @@ files:
|
|
105
105
|
- app/assets/images/educode_sales/icon-login.png
|
106
106
|
- app/assets/images/educode_sales/icon.png
|
107
107
|
- app/assets/images/educode_sales/indexLogo.png
|
108
|
-
- app/assets/images/educode_sales/indexlogo.png
|
109
108
|
- app/assets/images/educode_sales/loading-0.gif
|
110
109
|
- app/assets/images/educode_sales/loading-1.gif
|
111
110
|
- app/assets/images/educode_sales/loading-2.gif
|
@@ -726,7 +725,7 @@ homepage: https://www.educoder.net
|
|
726
725
|
licenses:
|
727
726
|
- MIT
|
728
727
|
metadata: {}
|
729
|
-
post_install_message:
|
728
|
+
post_install_message:
|
730
729
|
rdoc_options: []
|
731
730
|
require_paths:
|
732
731
|
- lib
|
@@ -741,8 +740,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
741
740
|
- !ruby/object:Gem::Version
|
742
741
|
version: '0'
|
743
742
|
requirements: []
|
744
|
-
rubygems_version: 3.0.
|
745
|
-
signing_key:
|
743
|
+
rubygems_version: 3.0.0
|
744
|
+
signing_key:
|
746
745
|
specification_version: 4
|
747
746
|
summary: Summary of EducodeSales.
|
748
747
|
test_files: []
|
Binary file
|