invoicing_payments_processing 1.1.55 → 1.1.56
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/balance.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbf8d14ab09274cca1347069880dd42704276aa6
|
4
|
+
data.tar.gz: fe4f4472a6e138fc6d5763bf1f3d10cfa5dfffa4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cf1c203a98b89cb889b6f3b81cda659a72ff25eef71b1c00797f7233bfff1908d119dde2bf3bf656395db258de309a96824b1eef205482f5ce7239a67f7a510
|
7
|
+
data.tar.gz: beb36ff2205f605672c8905362feff35c42642f2390c12c95959a9a84bd0da3a698109928f32c0882e1f63b12420ba387e6f3fb3ad3fd6954afb8abf3db0eb66
|
data/lib/balance.rb
CHANGED
@@ -22,7 +22,7 @@ module BlackStack
|
|
22
22
|
"select cast(sum(cast(amount as numeric(18,12))) as numeric(18,6)) as amount, sum(credits) as credits " +
|
23
23
|
"from stat_balance x with (nolock) " +
|
24
24
|
"where x.id_client='#{self.client.id}' " +
|
25
|
-
"and x.product_code='#{self.product_code}' "
|
25
|
+
"and x.product_code='#{self.product_code}' "
|
26
26
|
end
|
27
27
|
|
28
28
|
row = DB[q].first
|