has_accounts_engine 3.0.0.beta9 → 3.0.0.beta10
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 +4 -4
- data/app/views/accounts/_booking_item.html.haml +1 -0
- data/app/views/accounts/_booking_list_header.html.haml +1 -0
- data/app/views/accounts/_booking_list_saldo.html.haml +1 -1
- data/app/views/accounts/_booking_list_turnover.html.haml +1 -1
- data/app/views/accounts/_carry_booking.html.haml +1 -0
- data/app/views/bookings/_booking.html.haml +2 -1
- data/app/views/bookings/_booking_form.html.haml +1 -0
- data/app/views/bookings/_list.html.haml +2 -0
- data/app/views/bookings/index.html.haml +10 -9
- data/app/views/bookings/index.js.erb +1 -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: 76006e88be871b79e33bca9f8ceb7780218bd15f
|
4
|
+
data.tar.gz: 0483ee9a50458ca0897698df090732c5af74c3ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20442b5840215e0e66941993bc216fd527a83314f23666f230edcc3a8a3bc0acdc8b39f1a80f1d157a53dda619ebd2e35ec490dc2f36442940d6b19d6293c8ad
|
7
|
+
data.tar.gz: 3e6e6282189af1eff23eb6124c1399293054067c8811ba38edea850205c91ef0c40a9a261426752878c474f6e11d06790eb7653d6cc415133af20a7c98d8bc8b
|
@@ -1,6 +1,6 @@
|
|
1
1
|
- credit_turnover, debit_turnover = @account.turnover(@bookings)
|
2
2
|
%tr#booking_list_turnover{:style => "border-top: double 2px black"}
|
3
|
-
%td{:colspan => "
|
3
|
+
%td{:colspan => "4"}
|
4
4
|
Umsatz (#{h @bookings.first.value_date} bis #{h @bookings.last.value_date})
|
5
5
|
%td{:style => "text-align: right"}= currency_fmt(debit_turnover)
|
6
6
|
%td{:style => "text-align: right"}= currency_fmt(credit_turnover)
|
@@ -2,8 +2,9 @@
|
|
2
2
|
|
3
3
|
%tr[booking]
|
4
4
|
%td= booking.value_date
|
5
|
+
%td= booking.code
|
5
6
|
%td.subject
|
6
|
-
= link_to booking.title, item_action.call(booking), 'data-
|
7
|
+
= link_to booking.title, item_action.call(booking), 'data-table-key' => '13'
|
7
8
|
- if booking.comments.present?
|
8
9
|
%div
|
9
10
|
%i= booking.comments
|
@@ -2,6 +2,7 @@
|
|
2
2
|
%tr[booking]
|
3
3
|
= simple_fields_for booking, :wrapper => 'table' do |f|
|
4
4
|
%td= f.input :value_date, :as => 'date_field', :label => false
|
5
|
+
%td= f.input :code, :label => false
|
5
6
|
%td
|
6
7
|
= f.input :title, :input_html => {'data-autofocus' => true}
|
7
8
|
= f.input :comments, :rows => 2
|
@@ -3,6 +3,7 @@
|
|
3
3
|
%thead
|
4
4
|
%tr
|
5
5
|
%th.valute_date= t_attr :valuta
|
6
|
+
%th.code= t_attr :code
|
6
7
|
%th.title= t_attr :title
|
7
8
|
%th.reference= t_attr :reference
|
8
9
|
%th.debit_account= t_attr :debit_account
|
@@ -12,4 +13,5 @@
|
|
12
13
|
%tbody
|
13
14
|
= render collection, :item_action => (item_action ||= nil)
|
14
15
|
|
16
|
+
= paginate collection if defined?(paginate)
|
15
17
|
= render 'bookings/sidebar'
|
@@ -3,16 +3,17 @@
|
|
3
3
|
= boot_page_title
|
4
4
|
|
5
5
|
= simple_form_for '', :method => :get, remote: true do |f|
|
6
|
-
.
|
7
|
-
.
|
8
|
-
|
9
|
-
.
|
10
|
-
|
11
|
-
|
12
|
-
|
6
|
+
.container-fluid
|
7
|
+
.row-fluid
|
8
|
+
.span6= f.input :by_text, label: t(:by_text, scope: 'bookings.search'), required: false
|
9
|
+
.row-fluid
|
10
|
+
.span3= f.input 'by_amount[from]', label: t(:by_amount_from, scope: 'bookings.search'), required: false
|
11
|
+
.span3= f.input 'by_amount[to]', label: t(:by_amount_to, scope: 'bookings.search'), required: false
|
12
|
+
.span3= f.input 'by_date[from]', label: t(:by_date_from, scope: 'bookings.search'), required: false, input_html: { value: try_parse_date(params[:by_date][:from]) }
|
13
|
+
.span3= f.input 'by_date[to]', label: t(:by_date_to, scope: 'bookings.search'), required: false, input_html: { value: try_parse_date(params[:by_date][:to]) }
|
13
14
|
|
14
15
|
.form-actions
|
15
16
|
= f.button :submit, t_action(:search)
|
16
17
|
|
17
|
-
|
18
|
-
= render 'list'
|
18
|
+
.index
|
19
|
+
= render 'list'
|
@@ -1,2 +1,2 @@
|
|
1
|
-
$('.
|
1
|
+
$('.index').html('<%=escape_javascript render "list" %>');
|
2
2
|
initializeBehaviours();
|
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.beta10
|
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: 2015-09-
|
11
|
+
date: 2015-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|