bookyt_salary 0.16.8 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/salaries/_form.html.haml +13 -16
- data/app/views/salaries/select_employee.html.haml +6 -10
- data/app/views/salary_booking_templates/_form.html.haml +17 -20
- data/app/views/salary_items/_list_form.html.haml +7 -7
- data/app/views/salary_templates/_form.html.haml +7 -10
- data/lib/bookyt_salary/version.rb +1 -1
- metadata +4 -4
@@ -1,19 +1,16 @@
|
|
1
|
-
=
|
2
|
-
= f.
|
3
|
-
= f.
|
4
|
-
|
5
|
-
|
6
|
-
= f.input :
|
7
|
-
|
8
|
-
|
9
|
-
.
|
10
|
-
|
11
|
-
|
12
|
-
.
|
13
|
-
.span10= f.input :text, :input_html => {:rows => 4, :class => 'span10'}
|
14
|
-
.span10= f.input :remarks, :input_html => {:rows => 4, :class => 'span10'}
|
1
|
+
= simple_form_for @salary do |f|
|
2
|
+
= f.input :employee_id, :as => :hidden
|
3
|
+
= f.input :employer_id, :as => :hidden
|
4
|
+
= f.input :state, :as => :hidden
|
5
|
+
.row-fluid
|
6
|
+
.span12= f.input :title
|
7
|
+
.row-fluid
|
8
|
+
.span6= f.input :duration_from, :as => :date_field
|
9
|
+
.span6= f.input :duration_to, :as => :date_field
|
10
|
+
.row-fluid
|
11
|
+
.span12= f.input :text, :input_html => {:rows => 4}
|
12
|
+
.span12= f.input :remarks, :input_html => {:rows => 4}
|
15
13
|
|
16
14
|
= render 'line_items/list_form', :f => f, :invoice => resource
|
17
15
|
|
18
|
-
= f.
|
19
|
-
= f.commit_button
|
16
|
+
= f.button :submit
|
@@ -1,13 +1,9 @@
|
|
1
1
|
= boot_page_title
|
2
2
|
|
3
|
-
=
|
4
|
-
|
3
|
+
= simple_form_for @salary, :url => new_salary_path, :method => :get do |f|
|
4
|
+
.row-fluid
|
5
|
+
.span6= f.input :employee, :as => :combobox
|
6
|
+
.row-fluid
|
7
|
+
.span6= f.input :duration_from, :as => :date_field
|
5
8
|
|
6
|
-
= f.
|
7
|
-
.row-fluid
|
8
|
-
.span5= f.input :employee, :as => :combobox
|
9
|
-
.row-fluid
|
10
|
-
.span5= f.input :duration_from, :as => :date_field
|
11
|
-
|
12
|
-
= f.buttons do
|
13
|
-
= f.commit_button
|
9
|
+
= f.button :submit
|
@@ -1,23 +1,20 @@
|
|
1
|
-
=
|
2
|
-
|
3
|
-
|
4
|
-
.
|
5
|
-
|
6
|
-
|
7
|
-
.
|
8
|
-
|
9
|
-
|
10
|
-
.
|
11
|
-
|
12
|
-
|
13
|
-
.row-fluid
|
14
|
-
.span10= f.input :comments, :input_html => {:rows => 2, :class => 'span10'}
|
1
|
+
= simple_form_for @salary_booking_template do |f|
|
2
|
+
.row-fluid
|
3
|
+
.span6= f.input :title, :input_html => {"data-autofocus" => true}
|
4
|
+
.span6= f.input :code
|
5
|
+
.row-fluid
|
6
|
+
.span6= f.input :credit_account, :as => :combobox, :collection => accounts_as_collection
|
7
|
+
.span6= f.input :debit_account, :as => :combobox, :collection => accounts_as_collection
|
8
|
+
.row-fluid
|
9
|
+
.span6= f.input :amount
|
10
|
+
.span6= f.input :amount_relates_to, :collection => amount_relates_to_collection
|
11
|
+
.row-fluid
|
12
|
+
.span12= f.input :comments, :input_html => {:rows => 2}
|
15
13
|
|
16
|
-
|
17
|
-
|
14
|
+
.row-fluid
|
15
|
+
.span12= f.input :include_in_saldo_list
|
18
16
|
|
19
|
-
|
20
|
-
|
17
|
+
.row-fluid
|
18
|
+
.span6= f.input :salary_declaration_code
|
21
19
|
|
22
|
-
= f.
|
23
|
-
= f.commit_button
|
20
|
+
= f.button :submit
|
@@ -1,7 +1,7 @@
|
|
1
|
-
=
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
%h3= t_title(:list, SalaryItem)
|
2
|
+
%table.table.table-striped.salary_items.collection.nested-form-container
|
3
|
+
%thead
|
4
|
+
= render 'salary_items/list_header', :template => f.object
|
5
|
+
%tbody.sortable
|
6
|
+
= f.fields_for :salary_items do |salary_item|
|
7
|
+
= render 'salary_items/form', :salary_item => salary_item, :template => f.object
|
@@ -1,13 +1,10 @@
|
|
1
|
-
=
|
2
|
-
|
3
|
-
|
4
|
-
.
|
5
|
-
|
6
|
-
|
7
|
-
.row-fluid
|
8
|
-
.span10= f.input :remarks, :input_html => {:rows => 2, :class => 'span10'}
|
1
|
+
= simple_form_for @salary_template do |f|
|
2
|
+
.row-fluid
|
3
|
+
.span6= f.input :title, :input_html => {"data-autofocus" => true}
|
4
|
+
.span6= f.input :person, :as => :combobox, :collection => Employee.all
|
5
|
+
.row-fluid
|
6
|
+
.span12= f.input :remarks, :input_html => {:rows => 2}
|
9
7
|
|
10
8
|
= render 'salary_items/list_form', :f => f
|
11
9
|
|
12
|
-
= f.
|
13
|
-
= f.commit_button
|
10
|
+
= f.button :submit
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bookyt_salary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 91
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 17
|
9
|
+
- 0
|
10
|
+
version: 0.17.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Simon H\xC3\xBCrlimann (CyT)"
|