rs.ge 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rs/models/waybill.rb +1 -1
- data/lib/rs/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f436303c19a11e82f62c331c717c7759b905927c
|
4
|
+
data.tar.gz: 92608dd0cbe1ebf0f4b4c93f0e8f1c3feb63c9fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d326ac879d6090a7bde80f94ec871057fb2fb717a3a95a1bd2d1e9e5dc672f40ab17d6a3e2ddeae1c0cff21ebc071df0bd3705187f42521b99f0071ab380c71
|
7
|
+
data.tar.gz: 3c7d9d1715b893fee2df7c1e58a22b198b28f50ae835bec3fa998556471cc14da937ff7788383b5c56ea52e5f1c15322b07ed8a30c3936d764e5d3a6b61b567a
|
data/lib/rs/models/waybill.rb
CHANGED
@@ -70,7 +70,7 @@ class RS::WaybillItem < RS::Validable
|
|
70
70
|
b.QUANTITY self.quantity
|
71
71
|
b.PRICE self.price
|
72
72
|
b.STATUS self.delete ? -1 : +1
|
73
|
-
b.AMOUNT self.quantity * self.price
|
73
|
+
b.AMOUNT (self.quantity * self.price * 100).round / 100.0
|
74
74
|
b.BAR_CODE self.bar_code
|
75
75
|
b.A_ID (self.excise_id ? self.excise_id : 0)
|
76
76
|
b.VAT_TYPE (self.vat_type || RS::VAT_COMMON)
|
data/lib/rs/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rs.ge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dimitri Kurashvili
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|