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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c683cd43eaae9536612b4e14a3615f7c03532420
4
- data.tar.gz: fb3d483c6d77113132c4b5b0d6086e29b3f3d7b9
3
+ metadata.gz: f436303c19a11e82f62c331c717c7759b905927c
4
+ data.tar.gz: 92608dd0cbe1ebf0f4b4c93f0e8f1c3feb63c9fc
5
5
  SHA512:
6
- metadata.gz: 3a7ea7e998651fb10cdcb4e34d65f91ce25aa7f8ee931e78bf006b875b5db43226d0e2c63901da4eb2e16508403e9a1fca5cc0fe921b41f75f7f95f0e6374e1f
7
- data.tar.gz: 002e956eb196eef63e411cdd9e1ad6179cbfcb44fd89aebdb1d95d9a1451821eaa69e0458f10424ca5ca5338d714cd96e1d0ddfc021021c3f0c56ea1dc1ef534
6
+ metadata.gz: 9d326ac879d6090a7bde80f94ec871057fb2fb717a3a95a1bd2d1e9e5dc672f40ab17d6a3e2ddeae1c0cff21ebc071df0bd3705187f42521b99f0071ab380c71
7
+ data.tar.gz: 3c7d9d1715b893fee2df7c1e58a22b198b28f50ae835bec3fa998556471cc14da937ff7788383b5c56ea52e5f1c15322b07ed8a30c3936d764e5d3a6b61b567a
@@ -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)
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module RS
3
- VERSION = '0.1.8'
3
+ VERSION = '0.1.9'
4
4
  end
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.8
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-25 00:00:00.000000000 Z
11
+ date: 2013-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec