has_accounts_engine 3.0.0.beta14 → 3.0.0.beta15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5cd3c849524f974cf8b62a1a2c428b3e3e3fdb3
|
4
|
+
data.tar.gz: 9182987f291760ebe40aa48ad6fd6fc280ac14fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96b6d808096f4578b98c71879a004427067cce440e3b8b5a8367cac481e1c7bf59570534ba1bf1add9e8a201c65703bd639d9a3f81b7ed98b973bbe697fca272
|
7
|
+
data.tar.gz: c0a86dcb2aa51db36392b161ce69d8b80ee413c3301839ec880caaf6897bc424d5d43a3f3b66e6cd5f5154e86043b2a12059baefe1f16ecfec04f7e54999fc15
|
@@ -21,7 +21,6 @@ class AccountsController < HasAccountsController
|
|
21
21
|
if params[:only_debit_bookings]
|
22
22
|
@bookings = @bookings.where(:debit_account_id => @account.id)
|
23
23
|
end
|
24
|
-
@bookings = @bookings
|
25
24
|
@carry_booking = @bookings.all.first
|
26
25
|
@saldo = @account.saldo(@carry_booking, false)
|
27
26
|
|
@@ -1,12 +1,21 @@
|
|
1
1
|
- url_params = {:controller => 'accounts', :action => 'show', :id => params[:account_id] || params[:id]}
|
2
2
|
|
3
|
+
= simple_form_for OpenStruct.new(params[:by_date]), url: '#', as: :by_date, method: :get, wrapper: :inline do |f|
|
4
|
+
.row-fluid
|
5
|
+
.span1= Booking.human_attribute_name :date
|
6
|
+
.span2= f.input :from, as: :date_field, label: true, input_html: { class: 'input-small' }
|
7
|
+
.span2
|
8
|
+
= f.input :to, as: :date_field, label: true, input_html: { class: 'input-small' }
|
9
|
+
.span2= f.button :submit, t('crud.action.filter')
|
10
|
+
|
3
11
|
= paginate @bookings
|
4
12
|
|
5
13
|
%table.table.table-striped.bookings.collection
|
6
14
|
%thead
|
7
15
|
= render 'accounts/booking_list_header'
|
8
16
|
%tbody
|
9
|
-
|
17
|
+
- if @carry_booking && @saldo != 0
|
18
|
+
= render 'accounts/carry_booking'
|
10
19
|
|
11
20
|
- for @booking in @bookings
|
12
21
|
- amount = @booking.amount
|
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.beta15
|
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:
|
11
|
+
date: 2017-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -352,4 +352,3 @@ signing_key:
|
|
352
352
|
specification_version: 4
|
353
353
|
summary: HasAccountsEngine provides controllers, views for has_accounts.
|
354
354
|
test_files: []
|
355
|
-
has_rdoc:
|