has_accounts_engine 3.0.0.beta1 → 3.0.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/accounts/_booking_item.html.haml +5 -1
- data/lib/has_accounts_engine/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: 0aec60d4ce390f6f94daddf69f789309cb584d94
|
4
|
+
data.tar.gz: 1b7a4562b4188c7d763b391167f2941ba164877c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1196cd68208de9cca03bf8403f0f72e4dfeb265ed29e6c888b4f6ca3b7e3fe6e435042a905144eeb7e002c8ebd4421e22abc6e9373fbd6182c647743539d2a91
|
7
|
+
data.tar.gz: 01fd6e81a0501ea896977b9dff93f560393de5411dc4a95bb9b8c05605e4d81f6d4a2a12fbe13c531dfe57d43e2f5da47e2cad3b1df78cfdb5e5dbe0fa8420ff
|
@@ -5,7 +5,11 @@
|
|
5
5
|
- if @booking.comments.present?
|
6
6
|
%hr{:style => "height: 1px; margin: 0"}/
|
7
7
|
%i= @booking.comments
|
8
|
-
%td
|
8
|
+
%td
|
9
|
+
- begin
|
10
|
+
= link_to @booking.reference.to_s(:reference), @booking.reference unless @booking.reference.nil?
|
11
|
+
- rescue
|
12
|
+
= @booking.reference.try(:to_s)
|
9
13
|
%td.currency= (@booking.debit_account == @account) ? currency_fmt(@booking.amount) : content_tag('i', link_to(@booking.debit_account.code, account_path(@booking.debit_account), :title => @booking.debit_account.title))
|
10
14
|
%td.currency= (@booking.credit_account == @account) ? currency_fmt(@booking.amount) : content_tag('i', link_to(@booking.credit_account.code, account_path(@booking.credit_account), :title => @booking.credit_account.title))
|
11
15
|
%td.currency= currency_fmt(@saldo)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: has_accounts_engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0.
|
4
|
+
version: 3.0.0.beta2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Hürlimann (CyT)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|