has_accounts_engine 1.1.2 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/images/16x16/add.png +0 -0
- data/app/assets/images/16x16/alert.png +0 -0
- data/app/assets/images/16x16/combolink.png +0 -0
- data/app/assets/images/16x16/copy.png +0 -0
- data/app/assets/images/16x16/delete.png +0 -0
- data/app/assets/images/16x16/edit.png +0 -0
- data/app/assets/images/16x16/filter.png +0 -0
- data/app/assets/images/16x16/index.png +0 -0
- data/app/assets/images/16x16/notice.png +0 -0
- data/app/assets/images/16x16/pdf.png +0 -0
- data/app/assets/images/16x16/preferences.png +0 -0
- data/app/assets/images/16x16/print.png +0 -0
- data/app/assets/images/16x16/show.png +0 -0
- data/app/assets/images/22x22/arrow-right.png +0 -0
- data/app/assets/images/22x22/edit.png +0 -0
- data/app/assets/images/22x22/insert_booking.png +0 -0
- data/app/assets/images/22x22/remove.png +0 -0
- data/app/assets/images/32x32/edit.png +0 -0
- data/app/assets/images/32x32/remove.png +0 -0
- data/app/assets/images/48x48/accounting.png +0 -0
- data/app/assets/images/48x48/basic_claims_data.png +0 -0
- data/app/assets/images/48x48/contacts.png +0 -0
- data/app/assets/images/48x48/invoicing.png +0 -0
- data/app/assets/images/48x48/nav_users.png +0 -0
- data/app/assets/images/48x48/preferences.png +0 -0
- data/app/assets/images/48x48/projects.png +0 -0
- data/app/assets/images/48x48/salaries.png +0 -0
- data/app/assets/images/48x48/settings.png +0 -0
- data/app/assets/images/48x48/stocks.png +0 -0
- data/app/assets/images/48x48/store.png +0 -0
- data/app/assets/images/button_bg.png +0 -0
- data/app/assets/images/crystal-icons/16x16/filter.png +0 -0
- data/app/assets/images/down.png +0 -0
- data/app/assets/images/favicon.ico +0 -0
- data/app/assets/images/flavour-extended/48x48/invoice.png +0 -0
- data/app/assets/images/free-business-desktop-icons/48x48/business.png +0 -0
- data/app/assets/images/gnome-web-icons/48x48/Gnome-X-Office-Address-Book-48.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_75_759fcf_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_85_aeb9cf_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_gloss-wave_55_aeb9cf_500x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_inset-hard_100_759fcf_1x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_inset-hard_100_f6f6f6_1x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_217bc0_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_2e83ff_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_469bdd_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_6da8d5_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_d8e7f3_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_f9bd01_256x240.png +0 -0
- data/app/assets/images/letter-logo.alpha.png +0 -0
- data/app/assets/images/letter-logo.big.png +0 -0
- data/app/assets/images/letter-logo.orig.png +0 -0
- data/app/assets/images/letter-logo.png +0 -0
- data/app/assets/images/loading.gif +0 -0
- data/app/assets/images/logo.png +0 -0
- data/app/assets/images/oxygen-icons/16x16/application-pdf.png +0 -0
- data/app/assets/images/oxygen-icons/16x16/document-preview.png +0 -0
- data/app/assets/images/oxygen-icons/16x16/document-print.png +0 -0
- data/app/assets/images/oxygen-icons/16x16/edit-copy.png +0 -0
- data/app/assets/images/oxygen-icons/16x16/go-next.png +0 -0
- data/app/assets/images/oxygen-icons/16x16/mail-mark-notjunk.png +0 -0
- data/app/assets/images/oxygen-icons/16x16/status_unknown.png +0 -0
- data/app/assets/images/oxygen-icons/48x48/preferences-system-time.png +0 -0
- data/app/assets/images/oxygen-icons/48x48/system-users.png +0 -0
- data/app/assets/images/oxygen-icons/48x48/view-bank-account-savings.png +0 -0
- data/app/assets/images/oxygen-icons/48x48/view-loan-asset.png +0 -0
- data/app/assets/images/rails.png +0 -0
- data/app/assets/images/up.png +0 -0
- data/app/assets/javascripts/has_accounts_engine/accounting-jquery.js +77 -0
- data/app/assets/javascripts/has_accounts_engine/accounting.js +411 -0
- data/app/assets/javascripts/has_accounts_engine/application.js +248 -0
- data/app/assets/javascripts/has_accounts_engine/bootstrap.datepicker.js +455 -0
- data/app/assets/javascripts/has_accounts_engine/cyt.js +117 -0
- data/app/assets/stylesheets/has_accounts_engine/.gitkeep +0 -0
- data/app/assets/stylesheets/has_accounts_engine/app_bootstrap.css.scss +5 -0
- data/app/assets/stylesheets/has_accounts_engine/application.css +14 -0
- data/app/assets/stylesheets/has_accounts_engine/bootstrap.datepicker.css +7 -0
- data/app/assets/stylesheets/has_accounts_engine/bootstrap.scss +1 -0
- data/app/assets/stylesheets/has_accounts_engine/partials/_base.sass +39 -0
- data/app/assets/stylesheets/has_accounts_engine/partials/_jquery.sass +1 -0
- data/app/assets/stylesheets/has_accounts_engine/partials/content/_accounting.sass +16 -0
- data/app/assets/stylesheets/has_accounts_engine/partials/content/_app.sass +46 -0
- data/app/assets/stylesheets/has_accounts_engine/partials/content/_combobox.sass +6 -0
- data/app/assets/stylesheets/has_accounts_engine/partials/content/_contextual.sass +10 -0
- data/app/assets/stylesheets/has_accounts_engine/partials/content/_fixed_sidebar.sass +11 -0
- data/app/assets/stylesheets/has_accounts_engine/partials/content/_form_view.sass +24 -0
- data/app/assets/stylesheets/has_accounts_engine/partials/content/_icons.sass +29 -0
- data/app/assets/stylesheets/has_accounts_engine/partials/content/_invoice.sass +10 -0
- data/app/assets/stylesheets/has_accounts_engine/partials/content/_overview.sass +44 -0
- data/app/assets/stylesheets/has_accounts_engine/partials/content/_select_form_labels.sass +28 -0
- data/app/assets/stylesheets/has_accounts_engine/partials/jquery/_jquery_ui.sass +1461 -0
- data/app/assets/stylesheets/has_accounts_engine/partials/print/_app.sass +2 -0
- data/app/assets/stylesheets/has_accounts_engine/partials/print/_layout.sass +66 -0
- data/app/assets/stylesheets/has_accounts_engine/print.scss +5 -0
- data/app/assets/stylesheets/has_accounts_engine/screen.scss +144 -0
- data/app/controllers/accounts_controller.rb +1 -1
- data/app/controllers/booking_templates_controller.rb +1 -1
- data/app/controllers/bookings_controller.rb +1 -1
- data/app/helpers/bootstrap_helper.rb +147 -0
- data/app/helpers/has_accounts_helper.rb +9 -0
- data/app/inputs/combobox_input.rb +22 -0
- data/app/inputs/date_field_input.rb +11 -0
- data/app/views/accounts/_booking_item.html.haml +2 -2
- data/app/views/accounts/_booking_list_header.html.haml +1 -1
- data/app/views/accounts/_booking_list_turnover.html.haml +1 -1
- data/app/views/accounts/_edit_booking.html.haml +1 -1
- data/app/views/accounts/_edit_bookings.html.haml +1 -1
- data/app/views/accounts/_show.html.haml +3 -2
- data/app/views/accounts/_show_bookings.html.haml +2 -2
- data/app/views/accounts/show.html.haml +1 -1
- data/app/views/booking_templates/_booking_template.html.haml +1 -1
- data/app/views/booking_templates/_form.html.haml +2 -2
- data/app/views/booking_templates/_list.html.haml +1 -1
- data/app/views/bookings/_booking.html.haml +1 -1
- data/app/views/bookings/_form.html.haml +6 -5
- data/app/views/bookings/_list.html.haml +1 -1
- data/app/views/bookings/_sidebar.html.haml +0 -5
- data/app/views/bookings/_simple_form.html.haml +2 -2
- data/app/views/has_accounts/_form.html.haml +5 -0
- data/app/views/has_accounts/_list.html.haml +15 -0
- data/app/views/has_accounts/_search_form.html.haml +6 -0
- data/app/views/has_accounts/_show.html.haml +2 -0
- data/app/views/has_accounts/_show_attachments.html.haml +9 -0
- data/app/views/has_accounts/_sidebar.html.haml +8 -0
- data/app/views/has_accounts/create.js.erb +3 -0
- data/app/views/has_accounts/destroy.js.erb +2 -0
- data/app/views/has_accounts/edit.html.haml +5 -0
- data/app/views/has_accounts/edit.js.erb +3 -0
- data/app/views/has_accounts/index.html.haml +6 -0
- data/app/views/has_accounts/new.html.haml +5 -0
- data/app/views/has_accounts/new.js.erb +3 -0
- data/app/views/has_accounts/show.html.haml +5 -0
- data/app/views/has_accounts/show_modal.js.erb +7 -0
- data/app/views/has_accounts/update.js.erb +3 -0
- data/app/views/layouts/has_accounts_engine.html.haml +48 -0
- data/config/locales/de.yml +14 -37
- data/config/locales/en.yml +26 -23
- data/lib/has_accounts_engine/railtie.rb +4 -0
- data/lib/has_accounts_engine/version.rb +1 -1
- metadata +169 -8
- data/app/controllers/bank_accounts_controller.rb +0 -3
- data/app/controllers/banks_controller.rb +0 -3
- data/app/views/bank_accounts/_bank_account.html.haml +0 -1
- data/app/views/bank_accounts/_form.html.haml +0 -10
- data/app/views/banks/_bank.html.haml +0 -3
- data/app/views/banks/_form.html.haml +0 -12
@@ -2,7 +2,7 @@
|
|
2
2
|
%th= t_attr :date, Booking
|
3
3
|
%th= t_attr :text, Booking
|
4
4
|
%th= t_attr :reference, Booking
|
5
|
-
%th.currency= t_attr :credit_account, Booking
|
6
5
|
%th.currency= t_attr :debit_account, Booking
|
6
|
+
%th.currency= t_attr :credit_account, Booking
|
7
7
|
%th.currency= t_attr :balance, Booking
|
8
8
|
%th.action-links.count-3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
%tr#booking_list_turnover{:style => "border-top: double 2px black"}
|
3
3
|
%td{:colspan => "3"}
|
4
4
|
Umsatz (#{h @bookings.first.value_date} bis #{h @bookings.last.value_date})
|
5
|
-
%td{:style => "text-align: right"}= currency_fmt(credit_turnover)
|
6
5
|
%td{:style => "text-align: right"}= currency_fmt(debit_turnover)
|
6
|
+
%td{:style => "text-align: right"}= currency_fmt(credit_turnover)
|
7
7
|
%td
|
8
8
|
%td
|
@@ -8,7 +8,7 @@
|
|
8
8
|
= f.select :reference_id, suggested_invoices_for_booking(f.object), :include_blank => true, :style => 'width: 98%', :class => 'combobox'
|
9
9
|
%td.span1= f.text_field :amount, :style => 'width: 94%'
|
10
10
|
|
11
|
-
%td.span1= f.association :credit_account, :collection => accounts_as_collection(Account.all), :as => :combobox, :style => 'width: 94%', :wrapper => :inline
|
12
11
|
%td.span1= f.association :debit_account, :collection => accounts_as_collection(Account.all), :as => :combobox, :style => 'width: 94%', :wrapper => :inline
|
12
|
+
%td.span1= f.association :credit_account, :collection => accounts_as_collection(Account.all), :as => :combobox, :style => 'width: 94%', :wrapper => :inline
|
13
13
|
|
14
14
|
%td{:style => 'display:none'}= f.hidden_field :id
|
@@ -7,8 +7,8 @@
|
|
7
7
|
%th= t_attr :value_date, Booking
|
8
8
|
%th= t_attr :title, Booking
|
9
9
|
%th= t_attr :amount, Booking
|
10
|
-
%th= t_attr :credit_account, Booking
|
11
10
|
%th= t_attr :debit_account, Booking
|
11
|
+
%th= t_attr :credit_account, Booking
|
12
12
|
%tbody
|
13
13
|
= render :partial => 'edit_booking', :collection => @bookings, :locals => {:f => f}
|
14
14
|
|
@@ -1,8 +1,9 @@
|
|
1
1
|
.tabbable
|
2
|
-
%ul.nav.nav-tabs
|
2
|
+
%ul.nav.nav-tabs
|
3
3
|
%li.active= link_to t_title(:journal, Account), '#tab-bookings', {:data => {:toggle => 'tab'}}
|
4
4
|
%li= link_to t_title(:info, Account), '#tab-info', {:data => {:toggle => 'tab'}}
|
5
|
-
|
5
|
+
- if defined?(Attachment)
|
6
|
+
%li= link_to t_title(:list, Attachment), '#tab-attachments', {:data => {:toggle => 'tab'}}
|
6
7
|
|
7
8
|
.tab-content
|
8
9
|
#tab-bookings.tab-pane.active= render 'show_bookings'
|
@@ -10,8 +10,8 @@
|
|
10
10
|
- for @booking in @bookings
|
11
11
|
- amount = @booking.amount
|
12
12
|
- amount = -(amount) if @account.is_liability_account?
|
13
|
-
- @saldo
|
14
|
-
- @saldo
|
13
|
+
- @saldo += amount if @booking.debit_account == @account
|
14
|
+
- @saldo -= amount if @booking.credit_account == @account
|
15
15
|
= render 'accounts/booking_item'
|
16
16
|
%tfoot
|
17
17
|
= render 'accounts/booking_list_footer' unless @bookings.empty?
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.contextual
|
2
|
-
= icon_link_to 'only_credit_bookings', url_for(:only_credit_bookings => true) unless params[:only_credit_bookings]
|
3
2
|
= icon_link_to 'only_debit_bookings', url_for(:only_debit_bookings => true) unless params[:only_debit_bookings]
|
3
|
+
= icon_link_to 'only_credit_bookings', url_for(:only_credit_bookings => true) unless params[:only_credit_bookings]
|
4
4
|
= icon_link_to 'all_bookings', @account if params[:only_credit_bookings] || params[:only_debit_bookings]
|
5
5
|
= contextual_links_for
|
6
6
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
- if booking_template.comments.present?
|
7
7
|
%hr{:style => "height: 1px; margin: 0"}/
|
8
8
|
%i= booking_template.comments
|
9
|
-
%td= link_to booking_template.credit_account.code, account_path(booking_template.credit_account), :title => booking_template.credit_account.title unless booking_template.credit_account.nil?
|
10
9
|
%td= link_to booking_template.debit_account.code, account_path(booking_template.debit_account), :title => booking_template.debit_account.title unless booking_template.debit_account.nil?
|
10
|
+
%td= link_to booking_template.credit_account.code, account_path(booking_template.credit_account), :title => booking_template.credit_account.title unless booking_template.credit_account.nil?
|
11
11
|
%td.currency= amount_to_s(booking_template)
|
12
12
|
%td= t(booking_template.amount_relates_to, :scope => 'booking_template.relation') if booking_template.amount_relates_to.present?
|
@@ -5,10 +5,10 @@
|
|
5
5
|
.span6
|
6
6
|
= f.input :code
|
7
7
|
.row-fluid
|
8
|
-
.span6
|
9
|
-
= f.association :credit_account, :as => :combobox, :collection => accounts_as_collection, :input_html => {:class => 'span6'}
|
10
8
|
.span6
|
11
9
|
= f.association :debit_account, :as => :combobox, :collection => accounts_as_collection, :input_html => {:class => 'span6'}
|
10
|
+
.span6
|
11
|
+
= f.association :credit_account, :as => :combobox, :collection => accounts_as_collection, :input_html => {:class => 'span6'}
|
12
12
|
.row-fluid
|
13
13
|
.span6
|
14
14
|
= f.input :amount
|
@@ -2,8 +2,8 @@
|
|
2
2
|
%thead
|
3
3
|
%tr
|
4
4
|
%th= t_attr :title, BookingTemplate
|
5
|
-
%th= t_attr :credit_account, BookingTemplate
|
6
5
|
%th= t_attr :debit_account, BookingTemplate
|
6
|
+
%th= t_attr :credit_account, BookingTemplate
|
7
7
|
%th.currency= t_attr 'amount', BookingTemplate
|
8
8
|
%th= t_attr :amount_relates_to, BookingTemplate
|
9
9
|
%th.action-links
|
@@ -8,8 +8,8 @@
|
|
8
8
|
%hr{:style => "height: 1px; margin: 0"}/
|
9
9
|
%i= booking.comments
|
10
10
|
%td= link_to booking.reference.to_s(:reference), booking.reference unless booking.reference.nil?
|
11
|
-
%td= link_to booking.credit_account.code, account_path(booking.credit_account), :title => booking.credit_account.title unless booking.credit_account.nil?
|
12
11
|
%td= link_to booking.debit_account.code, account_path(booking.debit_account), :title => booking.debit_account.title unless booking.debit_account.nil?
|
12
|
+
%td= link_to booking.credit_account.code, account_path(booking.credit_account), :title => booking.credit_account.title unless booking.credit_account.nil?
|
13
13
|
%td.currency= currency_fmt(booking.amount)
|
14
14
|
%td.action-links
|
15
15
|
= list_link_for(:edit, booking)
|
@@ -7,14 +7,15 @@
|
|
7
7
|
.row-fluid
|
8
8
|
.span6
|
9
9
|
= f.input :amount, :as => :string
|
10
|
-
.
|
11
|
-
|
10
|
+
- if @booking.respond_to? :code
|
11
|
+
.span6
|
12
|
+
= f.input :code
|
12
13
|
|
13
14
|
.row-fluid
|
14
|
-
.span6
|
15
|
-
= f.association :credit_account, :collection => accounts_as_collection(Account.all), :as => :combobox
|
16
15
|
.span6
|
17
16
|
= f.association :debit_account, :collection => accounts_as_collection(Account.all), :as => :combobox
|
17
|
+
.span6
|
18
|
+
= f.association :credit_account, :collection => accounts_as_collection(Account.all), :as => :combobox
|
18
19
|
|
19
20
|
.row-fluid
|
20
21
|
.span12
|
@@ -22,7 +23,7 @@
|
|
22
23
|
|
23
24
|
.row-fluid
|
24
25
|
.span12
|
25
|
-
|
26
|
+
//= f.input :reference_type, :as => :hidden, :input_html => {:value => 'Invoice'}
|
26
27
|
//= f.association :reference, :collection => suggested_invoices_for_booking(@booking, :include_all => true), :as => :combobox, :include_blank => true
|
27
28
|
|
28
29
|
.form-actions
|
@@ -1,6 +1 @@
|
|
1
1
|
- filter_name = :by_value_period
|
2
|
-
- content_for :sidebar do
|
3
|
-
- filters = current_tenant.fiscal_years.reverse.map do |period|
|
4
|
-
- value = {"from" => period[:from].to_s(:db), "to" => period[:to].to_s(:db)}
|
5
|
-
- {:value => value, :title => period[:to].year}
|
6
|
-
= boot_nav_filter(filter_name, [{:title => :all, :value => nil}] + filters)
|
@@ -12,10 +12,10 @@
|
|
12
12
|
= f.input :code
|
13
13
|
|
14
14
|
.row-fluid
|
15
|
-
.span6
|
16
|
-
= f.association :credit_account, :collection => accounts_as_collection(Account.all), :as => :combobox
|
17
15
|
.span6
|
18
16
|
= f.association :debit_account, :collection => accounts_as_collection(Account.all), :as => :combobox
|
17
|
+
.span6
|
18
|
+
= f.association :credit_account, :collection => accounts_as_collection(Account.all), :as => :combobox
|
19
19
|
|
20
20
|
.row-fluid
|
21
21
|
.span12
|
@@ -0,0 +1,15 @@
|
|
1
|
+
- @attributes ||= collection.first.attribute_names - ['id', 'created_at', 'updated_at']
|
2
|
+
%table.table.table-striped{:class => "#{collection.first.class.to_s.downcase.pluralize} collection"}
|
3
|
+
%thead
|
4
|
+
%tr
|
5
|
+
- @attributes.each do |field|
|
6
|
+
%th= t_attr field, collection.first.class
|
7
|
+
%th.action-links
|
8
|
+
%tbody
|
9
|
+
- collection.each do |r|
|
10
|
+
%tr
|
11
|
+
- @attributes.each do |field|
|
12
|
+
%td= r.send(field) if r.respond_to?(field)
|
13
|
+
%td.action-links
|
14
|
+
= list_link_for(:edit, r)
|
15
|
+
= list_link_for(:delete, r)
|
@@ -0,0 +1,9 @@
|
|
1
|
+
- @attachments = resource.attachments
|
2
|
+
- if @attachments.empty?
|
3
|
+
= boot_no_entry_alert
|
4
|
+
.attachments.collection
|
5
|
+
- else
|
6
|
+
= render 'attachments/list', :collection => @attachments
|
7
|
+
|
8
|
+
.form-actions
|
9
|
+
= icon_link_to :new, [:new, resource, :attachment], :remote => true
|
@@ -0,0 +1,8 @@
|
|
1
|
+
%ul.nav.nav-list
|
2
|
+
%li.nav-header= t('bookyt.main_navigation.accounting')
|
3
|
+
%li= link_to t_title(:new, Booking), new_booking_path
|
4
|
+
- BookingTemplate.where(:type => nil).limit(5).each do |template|
|
5
|
+
%li= link_to template, [:new_booking, template]
|
6
|
+
|
7
|
+
%li.nav-header Infos
|
8
|
+
%li= link_to t_title(:index, Account), accounts_path
|
@@ -0,0 +1,48 @@
|
|
1
|
+
!!!
|
2
|
+
%html
|
3
|
+
%head
|
4
|
+
%meta{:charset => 'utf-8'}/
|
5
|
+
= favicon_link_tag 'favicon.ico'
|
6
|
+
|
7
|
+
= stylesheet_link_tag 'has_accounts_engine/application', :media => 'all'
|
8
|
+
= javascript_include_tag "has_accounts_engine/application"
|
9
|
+
|
10
|
+
= csrf_meta_tag
|
11
|
+
%title
|
12
|
+
- if current_user
|
13
|
+
= "#{content_for :page_title} - #{t('application.title')}"
|
14
|
+
- else
|
15
|
+
= "#{content_for :page_title} - #{t('application.title')}"
|
16
|
+
|
17
|
+
%body
|
18
|
+
.navbar.navbar-fixed-top
|
19
|
+
.navbar-inner
|
20
|
+
.container-fluid
|
21
|
+
= link_to root_path, :class => 'brand' do
|
22
|
+
= t('application.title')
|
23
|
+
|
24
|
+
.brand(style="margin-left: 1em")
|
25
|
+
|
26
|
+
#content.container-fluid
|
27
|
+
- if notice
|
28
|
+
= boot_alert(notice, 'success')
|
29
|
+
- if alert
|
30
|
+
= boot_alert(alert, 'error')
|
31
|
+
.row-fluid
|
32
|
+
- if user_signed_in?
|
33
|
+
#sidebar.span2
|
34
|
+
= render 'has_accounts/sidebar'
|
35
|
+
.span10
|
36
|
+
.content
|
37
|
+
= yield
|
38
|
+
- else
|
39
|
+
.offset3.span6= yield
|
40
|
+
|
41
|
+
#footer
|
42
|
+
.container
|
43
|
+
%p.pull-right
|
44
|
+
= link_to "Deutsch", :locale => 'de-CH'
|
45
|
+
= link_to "English", :locale => 'en'
|
46
|
+
%p
|
47
|
+
Bookyt is built by <a href="http://cyt.ch" target="_blank">CyT GmbH</a>.
|
48
|
+
Code licensed under the <a href="http://www.gnu.org/licenses/agpl-3.0.html" target="_blank">GNU AGPL 3</a>.
|
data/config/locales/de.yml
CHANGED
@@ -3,8 +3,6 @@ de:
|
|
3
3
|
activerecord:
|
4
4
|
models:
|
5
5
|
account: Konto
|
6
|
-
bank_account: Bankkonto
|
7
|
-
bank: Bank
|
8
6
|
account_type: Kontentyp
|
9
7
|
booking: Buchung
|
10
8
|
booking_template: Buchungsvorlage
|
@@ -15,14 +13,6 @@ de:
|
|
15
13
|
title: Titel
|
16
14
|
saldo: Saldo
|
17
15
|
account_type: Kontentyp
|
18
|
-
bank_account:
|
19
|
-
number: Kontokorrent-Nr.
|
20
|
-
iban: IBAN
|
21
|
-
pc_id: VESR-Teilnehmer-Nr.
|
22
|
-
esr_id: VESR-Identifikations-Nr.
|
23
|
-
bank:
|
24
|
-
clearing: Clearing-Nr.
|
25
|
-
swift: SWIFT-Nr.
|
26
16
|
account_type:
|
27
17
|
name: Name
|
28
18
|
title: Titel
|
@@ -32,8 +22,8 @@ de:
|
|
32
22
|
title: Titel
|
33
23
|
amount: Betrag
|
34
24
|
comments: Bemerkungen
|
35
|
-
credit_account:
|
36
|
-
debit_account:
|
25
|
+
credit_account: Haben
|
26
|
+
debit_account: Soll
|
37
27
|
reference: Referenz
|
38
28
|
reference_type: Referenz Typ
|
39
29
|
reference_id: Referenz ID
|
@@ -45,36 +35,23 @@ de:
|
|
45
35
|
valuta: Valuta
|
46
36
|
value: Betrag
|
47
37
|
booking_template:
|
48
|
-
amount_relates_to:
|
49
|
-
charge_rate_code:
|
50
|
-
credit_account:
|
51
|
-
debit_account:
|
52
|
-
reference:
|
53
|
-
value_date:
|
54
|
-
|
55
|
-
form:
|
56
|
-
bank:
|
57
|
-
money_transfer: Bankverbindung
|
38
|
+
amount_relates_to: Relativ zu
|
39
|
+
charge_rate_code: Abgabesatz
|
40
|
+
credit_account: Haben
|
41
|
+
debit_account: Soll
|
42
|
+
reference: Referenz
|
43
|
+
value_date: Valutadatum
|
58
44
|
|
59
45
|
# Title customizations
|
60
46
|
accounts:
|
61
47
|
index:
|
62
48
|
title: Kontenplan
|
63
49
|
edit_bookings:
|
64
|
-
title:
|
50
|
+
title: Buchungen
|
65
51
|
info:
|
66
|
-
title:
|
52
|
+
title: Kontodaten
|
67
53
|
journal:
|
68
|
-
title:
|
69
|
-
attachments:
|
70
|
-
list:
|
71
|
-
title: Dokumente
|
72
|
-
bank_accounts:
|
73
|
-
index:
|
74
|
-
title: Bankkonti
|
75
|
-
banks:
|
76
|
-
index:
|
77
|
-
title: Banken
|
54
|
+
title: Auszug
|
78
55
|
account_types:
|
79
56
|
index:
|
80
57
|
title: Kontentypen
|
@@ -86,6 +63,6 @@ de:
|
|
86
63
|
|
87
64
|
crud:
|
88
65
|
action:
|
89
|
-
copy:
|
90
|
-
only_credit_bookings:
|
91
|
-
only_debit_bookings:
|
66
|
+
copy: Kopieren
|
67
|
+
only_credit_bookings: Nur Soll
|
68
|
+
only_debit_bookings: Nur Haben
|