invoicing_payments_processing 1.1.71 → 1.1.72
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/extend_client_by_invoicing_payments_processing.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: 20c2d6fe3d2345b3468bb8d4903626e2efbde5f6
|
4
|
+
data.tar.gz: 303e1555e77d60b5b8e20c4aa7a7e62c76c271ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23dad2e9670797a5ce76978577e92ada0b9c8b41c3fad46c8ad4ffe7a6443011b011b0a1bdf3aaff8e07d874a34cf236fbc5561874d368f8a0ae97a989ad90a0
|
7
|
+
data.tar.gz: 2d272bdea48b9320799a7231ec9598de1fd1c6c11ae839c51a45f4b42a4d6334fd6a034aa266c971f73442f8c505667847352e719d2dbdf0ade234dfb102b4c1
|
@@ -41,7 +41,7 @@ module BlackStack
|
|
41
41
|
"FROM client c WITH (NOLOCK) " +
|
42
42
|
"JOIN movement m WITH (NOLOCK INDEX(IX_movement__id_client__create_time_desc)) ON ( " +
|
43
43
|
" c.id=m.id_client AND " +
|
44
|
-
" ( m.create_time > ISNULL(c.last_stat_balance_update_time, '1900-01-01') OR ISNULL(c.last_stat_balance_update_time, '
|
44
|
+
" ( m.create_time > ISNULL(c.last_stat_balance_update_time, '1900-01-01') OR ISNULL(c.last_stat_balance_update_time, '2200-01-01') < DATEADD(DD,-1,GETDATE()) ) " +
|
45
45
|
") " +
|
46
46
|
"WHERE c.id = '#{self.id}' " +
|
47
47
|
"ORDER BY m.create_time DESC "
|